IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Overrides for JCL to get right GDG into steps on restart


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue Oct 07, 2008 12:36 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts IMS Restart Failure IMS DB/DC 4
No new posts Restart logic by using cursor name in... DB2 1
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts Do we need to restart DB2 Z/OS for DA... DB2 0
Search our Forums:

Back to Top