Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to determine which GDG generation is being processed?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
gskn4u
Currently Banned

New User


Joined: 29 Feb 2008
Posts: 25
Location: hyderabad

PostPosted: Thu Jul 03, 2008 3:37 pm    Post subject: How to determine which GDG generation is being processed?
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
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3507
Location: Brussels once more ...

PostPosted: Thu Jul 03, 2008 3:47 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 23 Nov 2006
Posts: 8605
Location: 221 B Baker St

PostPosted: Thu Jul 03, 2008 8:39 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1