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
how do you access an uncataloged dataset in a jcl?
What is the purpose of dd * statement in jcl?
Describe the various parameters utilized in the creation of a gdg?
What dd statement is used to supply the name of a dataset?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Is automatic restart possible in jcl?
How can the attributes of one sms dataset be copied to another dataset?
How is the record format of an output dataset specified?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
how can the same proc be re-used and called by many jobs?
How to submit a jcl from cics?
how you will the direct the data to spool using sysout option?
What is notcat 2 - gs?