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
 
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 How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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