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 / suputhru

4 & 5 step creates a new generation
STEP004 (+1) o/p----- STEP006 (+1)
STEP005 (+2) o/p----- STEP007 (+2)

STEP006 (+1)
STEP007 (+2)

if the Job ABENDS, it means 4th 5th steps executed suceesfully.
STEP004 (-1) o/p-------------------- STEP006
STEP005 (0) o/p-------------------- STEP007

Restart the Job from 6th Step & refer GDG Versions like

STEP006 (-1)
STEP007 (0)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of dd name parameter with a 2 part structure; audit.report?

714


How is a type of file defined in the jcl that executes the cobol program?

724


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2007


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

872


Which statement is used to identify the private libraries in job?

688






how to run batch program without jcl?

10104


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

798


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5072


i want to store 20 digits . how will u do it in cobol ?

870


What is the function of the dd avgrec keyword in sms datasets?

852


What are the difference between jcl and jes?

1059


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1811


What do you understand by the term notcat 2 – gs?

768


which utility is used a dummy utility?

811


how you will the direct the data to spool using sysout option?

1775