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

Oldest generation of GDG


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Thu Nov 01, 2007 7:22 pm
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: 1702
Location: Australia

PostPosted: Mon Nov 05, 2007 3:49 am
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

Superior Member


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

PostPosted: Mon Nov 05, 2007 4:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts Started task using a generation dataset JCL & VSAM 7
No new posts Report generation JCL & VSAM 18
No new posts How can I get Generation Nbr of GDG f... IBM Tools 1
No new posts Sequence number generation for multip... DFSORT/ICETOOL 2
Search our Forums:

Back to Top