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
List the different jcl statements that are not permitted in the procedures?
Is automatic restart possible in jcl? If yes, how?
Explain about LMFREE�free data set from its association with data ID
when can a job time-out occur? How to overcome that?
Which statement is used to identify the private libraries in job?
which utility is used to sort a file in jcl?
How to run cobol program using jcl?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How do you access an uncatalogued dataset in a jcl?
Explain the function of //cntl statement?
How can values be passed from the job stream to an executable program?
how can you check if a file is empty using jcl?
Is it possible to left uncode disp?
When space is allocated for an output dataset, what units can be used?
How can the disposition of sysout datasets be set for an entire jobstream?