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
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
what is the use of IEBGENER utility?
what is use of dsn parameter in dd statement?
Why include statement is used in a jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
what is the use of JCL?
Matching Logic in Jcl not in cobol.Could any one please answer this question
can any one plzzzzzz tell the jcl code for creating ps using idcams
What is the significance of addrspc parameter in the exec statement?
when does a dataset go uncataloged?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what is DSN in JCL and what are the parameters to declare the DSN?
How does jcl act on code(if you take a cobol program)?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
List the various advantages of using jcl language?