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 / chandrababu
Plz ignore the previous ANS#5,
THis is correct one:
JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what happens in execution stage in job processing?
Can we call instream to catalog and catalog to instream?
what is the compile process of cobol program expalin with code
What parameter of the job statement is used to limit the cpu time consumed by the job?
Explain the job statement in jcl?
Which dd parameters are required?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
when does a dataset go uncataloged?
What is the difference between run mode and addressing mode?
how you can access an uncataloged dataset in a JCL?
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.
which utility is used to run a cobol-db2 program?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?