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?
Answer Posted / hi
check this out:
//JOB123 JOB (TEST,DATA).....
//..
//..
//STEP4 EXEC PGM=IEFBR14,
//OUT4 DD DSN=OUT.STEP4(+1),...
//..
//STEP5 EXEC PGM=IEFBR14,
//OUT5 DD DSN=OUT.STEP5(+1),...
//..
//STEP6 EXEC PGM=IKJEFT01,COND=(0,GT,STEP4)
//IN5 DD DSN OUT.STEP4(+1),DISP=SHR,
//..
//STEP7 EXEC PGM=IKJEFT01,COND=(0,GT,STEP5)
//IN5 DD DSN OUT.STEP5(+1),DISP=SHR,
//..
COND=(0,GT,STEP4) in STEP6 will bypass the step6 if RC of
step4 is greater than 0. But step 7 will be executed
irrespective of the success of the step4 provided step5 is
successful...
is it clear??
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
How dummy is used in jcl?
what is use of disp parameter in dd statement?
In job processing, what happens in execution stage?
Explain the function of dd disp parameter?
Explain how can the submitting users racf authority be overridden in a job stream?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Explain how can the attributes of one sms dataset be copied to another dataset?
Are there any set of rules for the names of the steps used in a job?
Are there any set of rules for the names of the steps used in a job? What are they?
How to alter the parameters for the existing gdg?
What is the difference between the positional and keyword parameters? Give examples.
What is the function of job statement in jcl?
How can values be passed from the job stream to an executable program?
Must tape dataset definitions include vol=ser specifications?