Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Doubt regarding VOLUMES parameter...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Doubt regarding VOLUMES parameter...
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 28, 2010 2:08 pm    Post subject:
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    Post subject:
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 28, 2010 2:34 pm    Post subject:
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    Post subject:
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: 2429
Location: Netherlands, Amstelveen

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

karthikr44,

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

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu Oct 28, 2010 7:17 pm    Post subject:
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    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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us