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
A dd statement consists of 4 fields. Name them?
Explain the job statement in jcl?
What do you understand by the term notcat 2 – gs?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What parameter of the job statement is used to limit the cpu time consumed by the job?
How jcl is used for testing batch programs?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what are the statements that are not valid to be included in an include statement?
which utility is used to run a cobol-db2 program?
What is jcl in mainframe?
what is use of space parameter in dd statement?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
List the different components of jcl statement?
How can a stopped job be started again?
how you will the direct the data to spool using sysout option?