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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    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

Anuj Dhawan

Senior Member


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

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: 8593
Location: Back in jolly old England

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
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 Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts How to copy Tape dataset to unix main... chaky All Other Mainframe Topics 4 Fri Jul 08, 2016 2:52 am


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