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 / margaret

since GDG is not cataloged until the successful end of the
step, Your best bet is to use a referback to point to the
dataset in the subsequent step. This way you will get the
appropriate dataset prior to cataloging.

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can the submitting users racf authority be overridden in a job stream?

741


whats the diff bw the evaluate also and and?

1850


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

929


what happens in conversion stage in job processing?

724


Explain the hierarchy levels in jcl?

1116






What is the function of //cntl statement?

828


how would you create a temporary dataset? And where will you use them?

764


what is DSN in JCL and what are the parameters to declare the DSN?

714


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

779


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625


What is the function of the steplib dd statement?

736


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

539


Must tape dataset definitions include vol=ser specifications?

971


How do you submit a job for execution?

637


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705