Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Overrides for JCL to get right GDG into steps on restart

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
Linda Maria Conner

New User


Joined: 02 Aug 2007
Posts: 7
Location: Tampa, Florida

PostPosted: Mon Oct 06, 2008 9:19 pm    Post subject: Overrides for JCL to get right GDG into steps on restart
Reply with quote

Where I work now, the production system has software to handle getting the correct GDG into all steps of a job, if the job is restarted. But in test, if we do a restart, we have to set it up ourselves. I am trying to document the TEST JCL with instructions

What do you do if you have this

You have a PROC

STEP10 creates A (DSN FILEA) +1 generation

Then STEP20 and STEP30 run and dont refer to file A or file B

Then STEP40 creates B (DSN FILEB) +1 generation

STEP50 concatenates FILEA(+1) and FILEB(+1) as input

So - say you crash and want to restart the job in STEP20 or STEP30

Can you use overrides that look something like this for STEP50?
//STEP50.ABIN DD DSN=FILEA(0),DISP=SHR
// DD DSN=FILEB(+1),DISP=SHR

If not, how do you do this? Or, is it just not possible to restart in STEP20 or in STEP30 ????
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 9214
Location: 221 B Baker St

PostPosted: Tue Oct 07, 2008 12:36 am    Post subject:
Reply with quote

Hello,

If it is in a PROC, you might consider making the generation specifications different symbolic parameters. The default would be +1, but on a restart you could specify the zero for filea.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1