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

Doubt regarding VOLUMES parameter...


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

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu Oct 28, 2010 1:55 pm
Reply with quote

Hi All,

I have seen one of our JCL being coded as

Code:

DEFINE CLUSTER (NAME(TEST.CLUSTER) -
INDEXED -
KEYS(11 0) -
RECORDSIZE(250 250) -
SPEED -
SHAREOPTIONS(2 3)) -
DATA (NAME(TEST.DATA) -
CYL(600 250) -
VOLUMES(*,*,*,*,*,*,*,*) - 


Here I am not sure,why it is coded as *,*,*,* for VOLUMES parameter.

Anyone has idea about this.Kindly share ur thoughts.

Thanks
R KARTHIK
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 28, 2010 2:08 pm
Reply with quote

You can let SMS choose the volumes for SMS-managed data sets by coding an * for the volser with the VOLUMES parameter. If both user-specified and SMS-specified volumes are requested, the user-specified volser must be input first in the command syntax. The default is one volume.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 28, 2010 2:19 pm
Reply with quote

Peter,
thanks for sharing your consolidated knowledge with us.
saved me a lot of time looking at manuals.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 28, 2010 2:34 pm
Reply with quote

Any time, Dick.
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu Oct 28, 2010 6:29 pm
Reply with quote

Thanks peter for sharing ur knowledge....
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 28, 2010 6:34 pm
Reply with quote

karthikr44,

any time
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Thu Oct 28, 2010 7:17 pm
Reply with quote

If they're SMS managed datasets then it will assign a 'canidate' volume for each * specified.

The first volser that the dataset is actually allocated on becomes a prime volume (a real volume), and as the dataset needs to extend to another volume another of the candidate volumes is changed to become a prime volume. You can also later do an IDCAMS ADDVOLUMES to add more candidate volumes if necessary.

Candidate volumes can also be defined by the Dataclas assigned to the dataset via its Initial or Dynamic volume count settings.

NOTE: If the dataset is NONSMS and it is VSAM the define will fail unless some other OEM allocation product like ProSMS or CA-Alllocate deals with it. If it is NONVSAM it may successfully allocate if there is some volumes mounted as STORAGE amd an EDT (Eligible Device Table) is defined that includes the addresses of the Storage mounted volumes.
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top