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 / satheesh
JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).
Hope this make sense.
| Is This Answer Correct ? | 56 Yes | 3 No |
Post New Answer View All Answers
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Where can program checkpoints be stored for use in a restart?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Where & How Do You Code Identifier In Jcl?
how do you code a null statement?
What is Cataloged Procedures?
What is the purpose of dd dummy statement?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
how would you create a temporary dataset? And where will you use them?
How jcl work to handle various input output file operations?
Explain dfsort utility?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
A dd statement consists of 4 fields. Name them?