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
 
//STEP010.RESTART DD VOL=REF=

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 65
Location: India

PostPosted: Mon Jul 21, 2008 9:18 pm    Post subject: //STEP010.RESTART DD VOL=REF=
Reply with quote

What does this step mean in overide
//STEP010.RESTART DD VOL=REF=

where all do we use it ?


Thanks.
Back to top
View user's profile Send private message
References
PostPosted: Mon Jul 21, 2008 9:18 pm    Post subject: Re: //STEP010.RESTART DD VOL=REF= Reply with quote

dick scherrer

Global Moderator


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

PostPosted: Mon Jul 21, 2008 9:50 pm    Post subject:
Reply with quote

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
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 65
Location: India

PostPosted: Mon Jul 21, 2008 11:14 pm    Post subject: Reply to: //STEP010.RESTART DD VOL=REF=
Reply with quote

//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
View user's profile Send private message
dick scherrer

Global Moderator


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

PostPosted: Tue Jul 22, 2008 12:03 am    Post subject:
Reply with quote

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
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 65
Location: India

PostPosted: Thu Jul 24, 2008 3:07 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 438

PostPosted: Thu Jul 24, 2008 3:22 pm    Post subject:
Reply with quote

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
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