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
 

 

Use LISTDSI in REXX to view the created date

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

New User


Joined: 21 May 2008
Posts: 7
Location: chennai

PostPosted: Fri May 23, 2008 12:40 pm    Post subject: Use LISTDSI in REXX to view the created date
Reply with quote

Can we use LISTDSI in REXX to view the created date for a GDG datasets?

I have 1000s of gdg generations like

aa.bb.cc.abc1.g0001v00
aa.bb.cc.abc1.g0002v00
...
aa.bb.cc.abc1.g0010v00

aa.bb.cc.abc2.g0001v00
aa.bb.cc.abc2.g0002v00
...
aa.bb.cc.abc2.g0010v00
...
...
...

aa.bb.cc.zzz1.g0001v00
aa.bb.cc.zzz1.g0002v00
...
aa.bb.cc.zzz1.g0010v00

I'm not sure about the date created. Now I need an output file where I can get the list of gdgs created before a particular date.

how can we do this
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Fri May 23, 2008 4:19 pm    Post subject: Reply to: LISTDSI??
Reply with quote

Yes, LISTDSI will give you the date created (SYSCREATE).

Be aware of this note:

Quote:

You can use LISTDSI to obtain information about a data set that is available on DASD. LISTDSI does not directly support data that is on tape. LISTDSI supports generation data group (GDG) data sets when using absolute generation names, but does not support relative GDG names. LISTDSI does not support hierarchical file system (HFS) data sets.
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: Fri May 23, 2008 5:03 pm    Post subject:
Reply with quote

Yes, I posted only 3 days ago the REXX code that gives you the information that you require and has no problems with tape based generations.

It's in the REXX / CLISt forum, so not too far to look
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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
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
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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