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
 

 

To find whether a TAPE file exists, using REXX

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

New User


Joined: 09 Apr 2011
Posts: 1
Location: India

PostPosted: Sat Apr 09, 2011 12:42 pm    Post subject: To find whether a TAPE file exists, using REXX
Reply with quote

Hi,
Please let me know is there any way to find the availability of a TAPE file using REXX.
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: Sat Apr 09, 2011 12:54 pm    Post subject:
Reply with quote

LISTCAT would be the obvious choice, but then that depends on your definition of exists or not. LISTCAT will let you know if the tape is catalog'd or not.

Although a tape maybe uncatalog'd and exist in the TMS there are implications which depend on whether the volumes is physical or virtual.

If it is a virtual volume you will need to check with your site support as to when the header information is scrapped, it could be immediately on uncatalog or may be delayed until the TMS housekeeping runs, but this is entirely site specific. I have had no end of grief when the header info was deleted at uncatalog icon_cry.gif
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am


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