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

VOL=(,,,20), Used for only Tape? Can it be used for DASD?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
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
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
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 08, 2008 5:29 am
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: 8797
Location: Welsh Wales

PostPosted: Thu May 08, 2008 11:28 am
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
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 Deleting a Tape file JCL & VSAM 14
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts ADR324E-VOL/DATASET SPECIFIED BY DDNA... JCL & VSAM 6
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
Search our Forums:

Back to Top