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

Sorry to confuse in the Ques. I just thought we r using GDG in step4 as OLD so i suggested to be use current GDG(+0) but i came to know that it creating the new one so we use GDG(+1) in step 4 not GDG(+0).

Corrected Ans 10 as below

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).



Sorry for in convenience. :)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are JCLLIB and STEPLIB in JCL?

675


Give the syntax of job specifying jcl statement.

636


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

648


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

712


Can I share my data with other jobs? How?

670






What does a disposition of (MOD,DELETE,DELETE) mean ?

666


What is the function of //jcllib statement?

806


What is the significance of addrspc parameter in exec statement?

729


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


Explain the jcl exec statement?

647


A dd statement consists of 4 fields. Name them?

930


Is condition checking possible in jcl? If yes, how?

737


What is notcat 2 - gs?

934


What are the 2 types of parameters in dd statement?

650


Are there any set of rules for the names of the steps used in a job? What are they?

612