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
 

 

GDG question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: GDG question
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    Post subject: Reply to: GDG question
Reply with quote

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

http://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    Post subject:
Reply with quote

Thank you Dsingh29........

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7307

PostPosted: Tue Feb 07, 2012 1:10 pm    Post subject: Re: GDG question
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm


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