Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 & VSAM
View previous topic :: :: View next topic  
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

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
This topic is locked: you cannot edit posts or make replies. Executing JCL specific steps at speci... Shruti Takkar JCL & VSAM 6 Mon Feb 22, 2016 12:39 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm
No new posts SEQNUM and RESTART zh_lad DFSORT/ICETOOL 2 Tue Aug 25, 2015 8:17 pm
No new posts Restart Logic suraaj DB2 5 Fri Feb 27, 2015 8:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us