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

What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


what is the difference between static call and dynamic call?

1 Answers  


When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?

6 Answers  


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,






Is it possible to left uncode disp?

0 Answers  


How to copy one PS file to multiple PS files with same data?

1 Answers  


what is the use of IEBGENER utility?

0 Answers  


Explain about ISPF/TSO Commands

0 Answers  


What is multithreading in jcl?

0 Answers  


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,


how to do automated restart when a job abends?

0 Answers   IBM,


Categories