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
What is the maximum length of a single line of jcl?
what sort card you will use to copy the data from one dataset to another dataset?
How do you submit a job for execution?
What is the function of the dd avgrec keyword in sms datasets?
What is the function of //cntl statement?
What is the purpose of dd * statement in jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
is there any way to execute more than one proc in the same exec statement at the same time..?
what are the various stages of job processing?
What is the significance of addrspc parameter in exec statement?
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
Explain the purpose of the dd keylen parameter?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
how can you check if a file is empty using jcl?
What is jcl in mainframe?