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 / arif
Here 2 scenario's are possible:
1) When dataset gets created in step 4 in case of
(DISP=NEW,CATLG,CATLG)
You need to restart from step 5:
In STEP5 use GDG1(-3).
2) 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(+1),
In STEP5 use GDG1(-2).
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What is the function of //jcllib statement?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What are the rules employed while naming the steps in a job?
What are some jcl statements that are not allowed in procedures?
What is the significance of addrspc parameter in the exec statement?
Explain the function of the dd dcb keyword?
What are the 4 fields in dd statement?
How does jcl act on a cobol code?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is NOTCAT ?
what happens in conversion stage in job processing?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Can we call instream to catalog and catalog to instream?
What are the difference between jcl and jes?