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

How to determine which GDG generation is being processed?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gskn4u
Currently Banned

New User


Joined: 29 Feb 2008
Posts: 25
Location: hyderabad

PostPosted: Thu Jul 03, 2008 3:37 pm
Reply with quote

Hi

Can anyone tell me how to determine which generation is being process currently thru a cobol program.

Say i have a GDG base DPSDSNG.TEST.GDG which has 10 generations. i need to know the generation number of the current GDG file being processed.

Thanks,
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 03, 2008 3:47 pm
Reply with quote

Why do you need to know this information ???

I am sure that this has already been asked and answered, please search.
Back to top
View user's profile Send private message
gskn4u
Currently Banned

New User


Joined: 29 Feb 2008
Posts: 25
Location: hyderabad

PostPosted: Thu Jul 03, 2008 4:19 pm
Reply with quote

Quote:

I am sure that this has already been asked and answered, please search.


i've already done. can you pls help me by providing the link...[/b]
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 Jul 03, 2008 8:39 pm
Reply with quote

Hello,

Start here:
http://ibmmainframes.com/viewtopic.php?t=20412

As i mentioned in another of your topics - it will be more work.

I should also mention that the value of the creaton date in the code is extremely limited. If you know the generation, you can easily "look up" the creation date online for any given generation.
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 -> COBOL Programming

 


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