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
 
VOL=(,,,20), Used for only Tape? Can it be used for DASD?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
jericson

New User


Joined: 03 May 2008
Posts: 2
Location: Board of Equalization; Sacramento, CA

PostPosted: Wed May 07, 2008 11:38 pm    Post subject: VOL=(,,,20), Used for only Tape? Can it be used for DASD?
Reply with quote

Hello,

VOL=(,,,20) - A non-specific request for up to 20 volumes to be allocated for a DSN.

This parameter is always used when defining multi-volume DASD datasets in my shop, but from what I can find on the net, this is only supposed to be used for multi-volume TAPE DSN's. I was told that this PARM was changed to include DASD DSN's as well. Can anyone verify this for me because I am not sure if I am coding things correctly?

If anyone can supply me with more detail on the VOL=(,,,20) Parm then feel free!

Thanks
Back to top
View user's profile Send private message
References
PostPosted: Wed May 07, 2008 11:38 pm    Post subject: Re: VOL=(,,,20), Used for only Tape? Can it be used for DASD? Reply with quote

Moved: Thu May 08, 2008 12:49 am by superk From JCL to SMS & VSAM
Anuj D.

Senior Member


Joined: 22 Apr 2006
Posts: 1919
Location: Phoenix, AZ

PostPosted: Thu May 08, 2008 5:29 am    Post subject:
Reply with quote

Hi,

1. One of the JOBs at my shop uses
Code:
//ONEWFILE DD DSN=&NODE..GQUSM145.SALEFILE.NEW,   
//             DISP=(NEW,CATLG,DELETE),           
//             RECFM=FB,                         
//             LRECL=85,                         
//             BLKSIZE=0,                         
//             UNIT=&DUNIT,                       
//             &VOLC,                             
//             DATACLAS=HUGE                     

where
Code:
DUNIT=DUNIT='SYSDA',     
& VOLC='VOL=(,,,149)',

So you can go ahead with your code, test it once & check if system throughs some errors.

2. You cannot override the volume count for an existing system-managed DASD data set (but you can specify a volume count when you create a new system-managed DASD data set).


Hope this helps.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3167
Location: Brussels once more ...

PostPosted: Thu May 08, 2008 11:28 am    Post subject:
Reply with quote

Quote:
2. You cannot override the volume count for an existing system-managed DASD data set (but you can specify a volume count when you create a new system-managed DASD data set).

Take a look at the IDCAMS ALTER command, because you can add extra volumes to a DASD dataset, as well as remove them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1