Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Which utility for checking the NOT CATLG 2 on a tape dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vinodkumar.rao

New User


Joined: 29 Nov 2006
Posts: 4
Location: Chennai

PostPosted: Wed Jan 03, 2007 8:16 pm    Post subject: Which utility for checking the NOT CATLG 2 on a tape dataset
Reply with quote

I have a tape dataset that is created in a job. When i rerun the job, i want to have a step to check the not catlg 2 on this dataset. Which utility can be used to have this? I used IEFBR14, but this did not work.
Thanks
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Wed Jan 03, 2007 9:25 pm    Post subject:
Reply with quote

Hello,

Suggest you modify your JCL and make sure that there is no entry cataloged prior to creating the data set (rather than trying to detect it after the NOT CATLG 2 has already occurred).

Something to think about is why would you want to run a job creating a dataset that is already created? If you need multiple versions of the file, you might consider defining it as a generation data set (GDG).

If you'd like to make sure the data set is not cataloged prior to creating it you CAN do that with IEFBR14 - just make sure that you specify deferred mounting so an actual mount will not be issued - it will allocate a tape drive, but no mount will called for). You could also uncatalog the dsn using IDCAMS - which may be preferable.
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us