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

GDG question


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Tue Feb 07, 2012 12:37 pm
Reply with quote

Hi to all,

i had faced an interview question as follows, like " suppose i have a jcl with 4 steps ie.,

in step1 : i created a new GDG version
in step2 : i am trying to copy from PS to new created GDG version
in step3 : again i created a new GDG version
in step4 : i am trying to copy from step2 GDG version to new created GDG version

now the question is in step1 what will be the version number 0 or +1

******* i said +1

and now what will be the GDG version in step3
and how u refer it +1 or +2 something else..........

upto my knowledge untill job ends the new GDG version will be +1 and if again it creates a new GDG version it may abends........

and now again if i restart the job from step3 then already created GDG version would be 0 and new one would be +1.

please kindly trace this...............
Back to top
View user's profile Send private message
Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Tue Feb 07, 2012 12:49 pm
Reply with quote

Please have a look at this older topic, similar question as to yours.

ibmmainframes.com/about25179.html
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Tue Feb 07, 2012 12:53 pm
Reply with quote

Thank you Dsingh29........

icon_lol.gif
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Feb 07, 2012 1:10 pm
Reply with quote

Mahi_e wrote:
[...]
now the question is in step1 what will be the version number 0 or +1

[...]


The answer is never. You, lik almost everyone wanting to use a GDG, are confusing Version and Generation.

The Version is the part which starts V and is usually, but doesn't have to be, 00. If you have G0034V00 and make a new "Version" you get G0034V01" and the G0034V00 disappears into thin air (not literally, but it might as well have done for your purpose).

The Generation is the part which starts with G. You may now confuse your colleagues, who might not, but definitely should, know the difference between Version and Generation, Oh dear, that could get messy. Perhaps use there terms how they are used at your site, but when you ask a question here translate using an ASKEY table.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top