View previous topic :: View next topic
|
Author |
Message |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
What does this step mean in overide
//STEP010.RESTART DD VOL=REF=
where all do we use it ?
Thanks. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you post output file 2 from a run that has this override, we can clarify using your "real" process.
Specifying no value for a parameter "unsets" that parameter, so where the jcl specifies a referback, the override removes it.
Quote: |
where all do we use it ? |
You would probably only use it for that particular override. |
|
Back to top |
|
|
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
//STEP010 EXEC PGM=IEFBR14
//RESTART DD DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(1)),
// VOL=REF=PROD.RSTART,
// DSN=&PROD1..AGH.PROTECT.RESTART.SNDD9097K |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The jcl step you posted allocates the named dataset on the same volume the RSTART DD is allocated to in the PROD step.
The override removes the referback to the specific volume, so any eligible SYSDA volume might be used for the allocation. |
|
Back to top |
|
|
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
Thanks, trying to understand.
Do you mean in the Test JCL when we give overide then it is not using the SYSDA volume specified in the Production Proc rather it is using the volume whichever is available then..
Please correct if i am wrong. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
actually if your volumes are SMS managed, the refer back is superflous as it will not make any difference, SMS will place the dataset on whichever volume it decides to place the dataset on.
Gerry |
|
Back to top |
|
|
|