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
 

 

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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm


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