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

JCL utility to know Vol serial for uncatalogued Dataset


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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 30, 2007 11:11 pm
Reply with quote

Hello,

You can do what you need with IEHPROGM.

Quote:
IEHPROGM can be used to catalog a non-VSAM sequential, ISAM, partitioned, or BDAM data set in a CVOL or an integrated catalog facility catalog. The program catalogs a data set by generating an entry, containing the data set name and associated volume information, in the index of the CVOL


If your storage management people are not familiar with this, you can use IEFBR14 with a DD statement like
Code:
//MYTAPE  DD DSN=dsn,UNIT=(CART,,DEFER),DISP=(OLD,CATLG),VOL=SER=xxxxxx


If you have several tapes to be cataloged, you can do it in one BR14 step but make sure that all but the first DD statement specifies UNIT=AFF=MYTAPE. While you will allocate the one tape drive, no mounts will be issued for any of the tapes. The DEFER tells the system not to call for a mount until the dataset is opened and with IEFBR14 it will not be opened.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 30, 2007 11:15 pm
Reply with quote

Hello,

One more thing - mentioned above - if your dataset spans multiple volumes, include all of the volsers. icon_smile.gif
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts REASON 00D70014 in load utility DB2 6
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top