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
How can the disposition of sysout datasets be set for an entire jobstream?
Brief description of inline procedure of jcl.
Explain the function of a dd statement?
How to pass data to a program that is coded in an exec statement?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
how you can access an uncataloged dataset in a JCL?
In job processing, what happens in conversion stage?
What is the significance of addrspc parameter in the exec statement?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is NOTCAT ?
what happens in execution stage in job processing?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Is condition checking possible in jcl? If yes, how?