Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 & VSAM
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    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

dick scherrer

Site Director


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

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

Site Director


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

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: 121
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: 1703
Location: Australia

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts SEQNUM and RESTART zh_lad DFSORT/ICETOOL 2 Tue Aug 25, 2015 8:17 pm
No new posts Restart Logic suraaj DB2 5 Fri Feb 27, 2015 8:47 pm
No new posts Question on JCL Restart trushant.w Mainframe Interview Questions 18 Mon Feb 24, 2014 6:49 pm
No new posts How to restart a step in Proc called ... Rohit_Soni JCL & VSAM 4 Mon Feb 17, 2014 3:18 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us