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 / margaret

since GDG is not cataloged until the successful end of the
step, Your best bet is to use a referback to point to the
dataset in the subsequent step. This way you will get the
appropriate dataset prior to cataloging.

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

737


How can unused space allocation be returned to the system when a dataset is closed?

811


what happens in conversion stage in job processing?

728


What do you understand by the term notcat 2 – gs?

753


Explain dd statement in jcl?

642






Explain how can a stopped job be started again?

636


Brief description of inline procedure of jcl.

683


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

709


what is the JCL statement consists of?

697


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1036


how to compare two datasets without using superce because output is limited to 133 bytes

1481


when can a job time-out occur? How to overcome that?

753


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

943


How does jcl act on a cobol code?

657


Is automatic restart possible in jcl? If yes, how?

655