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
 

 

Oldest generation of GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Thu Nov 01, 2007 7:01 pm    Post subject: Oldest generation of GDG
Reply with quote

Hi,

Is there any way we can find out the oldest generation in catalog.

Eg:

Code:
XXXX.YYYY.ZZZZ============>GDG Base
XXXX.YYYY.ZZZZ.G1256V00===>Oldest Generation
XXXX.YYYY.ZZZZ.G1257V00
XXXX.YYYY.ZZZZ.G1258V00
XXXX.YYYY.ZZZZ.G1259V00
XXXX.YYYY.ZZZZ.G1260V00===>Latest Generation


Thanks,
Murari

Code:
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: Thu Nov 01, 2007 7:22 pm    Post subject:
Reply with quote

Hello,

You can find this using tso/ispf (3.4 usually) or a LISTCAT.

I know of no way to code somethng "special" in jcl to refer to the oldest cataloged generation.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Nov 05, 2007 3:49 am    Post subject: Reply to: Oldest generation of GDG
Reply with quote

Hi,
in the example you have given, the -5 version should always be the oldest GDG.
I'm assuming the GDG base was built with 6 entries.

The -5 will only work once 6 GDGS have been added to the GDG base.

Gerry
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Nov 05, 2007 4:21 pm    Post subject:
Reply with quote

Hi,

I hope Dick's reply has helped you, however, can you please tell us the definition of "oldest GDG" ? Might be I'll inderstand the query better then.
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 Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts alphanumeric sequence generation sivaprasad.gadhi COBOL Programming 6 Wed Mar 30, 2016 3:03 am
No new posts alphanumeric sequence generation sivaprasad.gadhi DFSORT/ICETOOL 8 Mon Mar 21, 2016 1:09 am
No new posts Report generation senthamizh DFSORT/ICETOOL 1 Sat Jun 20, 2015 2:01 pm
No new posts Reading 0th Generation of GDG in REX S0C7 CLIST & REXX 8 Sat May 31, 2014 3:29 am


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