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)

Answers were Sorted based on User's Feedback



My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / chandrababu

JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),DISP=NEW
In STEP5 use GDG1(+1),Disp=SHR.
Hope this make correct .

Is This Answer Correct ?    2 Yes 24 No

Post New Answer

More JCL Interview Questions

Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

0 Answers  


How do you create a temporary dataset?

0 Answers  






what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.

6 Answers   HCL,


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


What is the significance of addrspc parameter in the exec statement?

0 Answers  


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

0 Answers  


What is the syntax of JCL statement?

0 Answers  


For what purpose steplib and joblib are used ?

0 Answers  


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


Categories