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

Capturing Creation date of a particular GDG version


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Krishna Prasanth

New User


Joined: 16 Sep 2008
Posts: 4
Location: Hyderabad

PostPosted: Sat Nov 15, 2008 11:59 pm
Reply with quote

Greetings!

As part of some mini project, am in need of capturing the creation date of a particular GDG version. Can anyone help me in this regard..? icon_cool.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 16, 2008 12:22 am
Reply with quote

Hello,

If you use idcams/listcat you can find the creation data of one or all of the generatons of a gdg.
Back to top
View user's profile Send private message
Krishna Prasanth

New User


Joined: 16 Sep 2008
Posts: 4
Location: Hyderabad

PostPosted: Sun Nov 16, 2008 12:27 am
Reply with quote

Please help me in posting sample code using IDCAMS?listcat for the above mentioned query...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 16, 2008 12:43 am
Reply with quote

Hello,

Suggest you become familiar/comfortable with the forum SEARCH facility - it will save you a lot of time as most things discussed are repeats and examples are posted there.

This should do what you want:
Code:
LISTC ENT('MY.GDG.GROUP') ALL
To find a particular generation include that generation in the dsn specified instead of only the group.
Back to top
View user's profile Send private message
Krishna Prasanth

New User


Joined: 16 Sep 2008
Posts: 4
Location: Hyderabad

PostPosted: Sun Nov 16, 2008 1:08 am
Reply with quote

Thank you very much.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 16, 2008 1:59 am
Reply with quote

You're welcome - good luck icon_smile.gif

d
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
Search our Forums:

Back to Top