View previous topic :: View next topic
|
Author |
Message |
niceguy
New User
Joined: 21 May 2008 Posts: 7 Location: chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|