Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us