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
 

 

How to Get the File creation date from a Tape file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Sharath S

New User


Joined: 18 Mar 2008
Posts: 5
Location: Mysore

PostPosted: Tue Mar 18, 2008 11:38 am    Post subject: How to Get the File creation date from a Tape file?
Reply with quote

I need to read the File creation date of a tape file by running a job using a command. Please help me how this can be done??
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: Tue Mar 18, 2008 12:54 pm    Post subject:
Reply with quote

I have recently posted some REXX code to do that, or your could interrogate the TMS
Back to top
View user's profile Send private message
ashok4u_it

New User


Joined: 12 Mar 2008
Posts: 53
Location: Chennai

PostPosted: Sat Mar 22, 2008 9:30 pm    Post subject: Reply to: How to Get the File creation date from a Tape file
Reply with quote

Hi Sharath,

You can extract a File Creation date of a Tape file by usiing a TSO Command,
LISTCAT ENT(/) VOL on the left side of a Tape dataset.
Let me know, if you want any additional information.

Regards,
Ashok Kumar.K
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Mon Mar 24, 2008 6:33 pm    Post subject:
Reply with quote

Remember that the LISTCAT shows the date the catalog entry was created, not the actual tape creation date. In some cases, the tape might be cataloged on a later date due to manual execution of IDCAMS.
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 -> TSO/ISPF 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 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 to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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