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

I believe, restarting from step 4 we need to use GDG1(0),

When dataset doesn't get created in step 4 in case of
(DISP=NEW,CATLG,DELETE)
You need to restart from STEP4
In STEP4 use GDG1(0),
In STEP5 use GDG1(-2).

Please correct me if i am wrong.

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can the disposition of sysout datasets be set for an entire jobstream?

825


What is the use of symbol // in jcl?

1114


Explain in DD statement what is the use of DCB parameter?

854


Name the statement which can be used to send data to another mvs jes3 node?

789


In sms datasets, what is the function of the dd avgrec keyword?

820






Describe the various parameters utilized in the creation of a gdg?

853


Explain the function of the dd dcb keyword?

919


What is the function of the dd mgmtclas keyword in sms datasets?

976


What are the jcl procedures?

829


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2187


Explain dd statement in jcl?

836


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

850


Explain the function of //cntl statement?

860


How can a jobs execution priority be modified?

990


What is the significance of addrspc parameter in exec statement?

927