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

To find whether a TAPE file exists, using REXX


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8798
Location: Welsh Wales

PostPosted: Sat Apr 09, 2011 12:54 pm
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Trouble using REXX SDSF interface to ... CLIST & REXX 3
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
Search our Forums:


Back to Top