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

//STEP010.RESTART DD VOL=REF=


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Mon Jul 21, 2008 9:18 pm
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
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Jul 21, 2008 9:50 pm
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: 121
Location: India

PostPosted: Mon Jul 21, 2008 11:14 pm
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

Moderator Emeritus


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

PostPosted: Tue Jul 22, 2008 12:03 am
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: 121
Location: India

PostPosted: Thu Jul 24, 2008 3:07 pm
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: 1702
Location: Australia

PostPosted: Thu Jul 24, 2008 3:22 pm
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
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 IMS Restart Failure IMS DB/DC 4
No new posts Restart logic by using cursor name in... DB2 1
No new posts Do we need to restart DB2 Z/OS for DA... DB2 0
No new posts Control-M restart instruction CA Products 2
No new posts Restart=Step not working JCL & VSAM 6
Search our Forums:

Back to Top