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
Name what parameter directs the output of the job log dataset?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Is it possible to define dd statements as you want?
which utility is used a dummy utility?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What happens if both JOBLIB & STEPLIB is specified ?
What is the maximum length of a single line of jcl?
What is the difference between run mode and addressing mode?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain the function of the dd dcb keyword?
how you can access an uncataloged dataset in a JCL?
can any one plzzzzzz tell the jcl code for creating ps using idcams
what JCL Procedures?
Explain the hierarchy levels in jcl?
What statement can be used to send data to another mvs jes3 node?