My JCL have five steps & I created new versions of GDG in
first step through fourth step & fifth step I was refered
Step one GDG version. My JCL got abend at 4th step and how
I can restart my JCL Please let me know the answers.
//STEP1 EXEC GDG1(+1) DISP=(NEW)
//STEP2 EXEC GDG1(+2) DISP=(NEW)
//STEP3 EXEC GDG1(+3) DISP=(NEW)
//STEP4 EXEC GDG1(+4) DISP=(NEW)
//STEP5 EXEC GDG1(+1) DISP=(OLD)
Answer Posted / atul
I believe, restarting from step 4 we need to use GDG1(0),
When dataset doesn't get created in step 4 in case of
(DISP=NEW,CATLG,DELETE)
You need to restart from STEP4
In STEP4 use GDG1(0),
In STEP5 use GDG1(-2).
Please correct me if i am wrong.
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
how JCL works?
Which dd parameters are required?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What is the difference between the positional and keyword parameters? Give examples.
What is jcl in mainframe?
Are there any set of rules for the names of the steps used in a job? What are they?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Are there any set of rules for the names of the steps used in a job?
how to compare two datasets without using superce because output is limited to 133 bytes
How can return codes be tested before execution of a job step?
what are JCLLIB and STEPLIB in JCL?
What happens if both JOBLIB & STEPLIB is specified ?
how to do automated restart when a job abends?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you