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
 

 

Capturing Creation date of a particular GDG version

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Capturing Creation date of a particular GDG version
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

Site Director


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

PostPosted: Sun Nov 16, 2008 12:22 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Nov 16, 2008 12:43 am    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Sun Nov 16, 2008 1:59 am    Post subject: Reply to: Capturing Creation date of a particular GDG versio
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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