What is the meaning of the EXEC statement keyword, COND?
What is its syntax?
Answers were Sorted based on User's Feedback
Answer / guest
COND specifies the conditions for executing the subsequent
job step. The value after the COND= is compared to the
return codes of the preceding steps and if the comparison is
true, the step is bypassed. (If this answer confuses you,
welcome to the club - memorize it and don't ask questions!)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / suresh babu
EXEC operation is meant for executing a program or
procedure. Each EXEC is known as one step. Maximum EXEC
steps in a JCL can be: 255.
The COND parameter coded on the EXEC statement applies only
to the job step that it is coded in. The job step is
executed or bypassed, depending on the condition codes
issued by one or more prior job steps.
SYNTAX: COND=(comparison-code,condition,stepname)
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..
how to increase the space of a dataset in instream procedure.
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,
Can a job have only steplib and no joblib ?
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
Give the syntax of job specifying jcl statement.
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?