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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


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