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
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
how would you create a temporary dataset? And where will you use them?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
which utility is used a dummy utility?
What are the rules employed while naming the steps in a job?
what sort card you will use to copy the data from one dataset to another dataset?
How can an in-stream dataset be terminated?
How dummy is used in jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
what is the purpose of coding class parameter in job statement?
What is the function of job statement in 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 the hierarchy levels in jcl?
Explain the function of //jcllib statement?
what are the types of abends that occur on job failure? And explain the possible causes of these