Linda Maria Conner
New User
Joined: 02 Aug 2007 Posts: 7 Location: Tampa, Florida
|
|
|
|
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 ???? |
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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. |
|