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


Please Help Members By Posting Answers For Below Questions

Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1960


What is job control language?

605


what are JCLLIB and STEPLIB in JCL?

671


Is it possible to left uncode disp?

711


Is it possible to code instream data in a PROC?

748






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

616


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

905


which utility is used a dummy utility?

786


What are the parameter we cannot use in procedure?

635


What is the function of the dd dcb keyword?

820


What does a disposition of (new,catlg,keep) for a dsn mean?

604


Why block size is multiple of lrecl in jcl?

908


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

642


Explain the function of //cntl statement?

651


What is the purpose of dd?

722