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: 4648
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
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


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