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

File Creation Date thorugh REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Wed Jul 22, 2009 6:39 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 22, 2009 6:42 pm
Reply with quote

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

Global Moderator


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

PostPosted: Wed Jul 22, 2009 6:49 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 22, 2009 7:09 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top