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
Is condition checking possible in jcl? If yes, how?
How can unused space allocation be returned to the system when a dataset is closed?
what happens in conversion stage in job processing?
What do you understand by the term notcat 2 – gs?
Explain dd statement in jcl?
Explain how can a stopped job be started again?
Brief description of inline procedure of jcl.
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
what is the JCL statement consists of?
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
how to compare two datasets without using superce because output is limited to 133 bytes
when can a job time-out occur? How to overcome that?
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 ?
How does jcl act on a cobol code?
Is automatic restart possible in jcl? If yes, how?