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
 

 

File Creation Date thorugh REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
kiranbhargava18

New User


Joined: 21 Apr 2009
Posts: 10
Location: Hyderabad

PostPosted: Wed Jul 22, 2009 6:33 pm    Post subject: File Creation Date thorugh REXX
Reply with quote

Hi,

Can anyone please let me know if there is a way to find out the creation date of a particular file through REXX.

Situation:
I have a GDG base which TEST.XXX.XXXXX.XXXXXX
A new file has come into this above GDG creating the file TEST.XXX.XXXXX.XXXXXX.G0001V00 on 01/01/2009
I want to know if there is a way to get the above date of creation through REXX.

If it is not possible thorugh REXX, please let me know all the other possible ways to do the above.

Kiran
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Jul 22, 2009 6:39 pm    Post subject: Reply to: File Creation Date thorugh REXX
Reply with quote

Have you already tried the LISTDSI function?
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: Wed Jul 22, 2009 6:42 pm    Post subject:
Reply with quote

Or DSINFO, or LMMLIST
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Jul 22, 2009 6:49 pm    Post subject: Reply to: File Creation Date thorugh REXX
Reply with quote

Or even good old IDCAMS LISTCAT.
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: Wed Jul 22, 2009 7:09 pm    Post subject:
Reply with quote

And all of the above can be executed under REXX icon_lol.gif
Back to top
View user's profile Send private message
kiranbhargava18

New User


Joined: 21 Apr 2009
Posts: 10
Location: Hyderabad

PostPosted: Wed Jul 22, 2009 8:38 pm    Post subject:
Reply with quote

Thanks all ! It worked !
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 -> CLIST & REXX 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. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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