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

Interview question on GDG


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

New User


Joined: 17 Nov 2010
Posts: 8
Location: chennai

PostPosted: Mon Jun 24, 2013 4:44 pm
Reply with quote

What's the syntax to retrieve 60th generation GDG if there are 100 generations?

Edited: from the V word to G word
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 Jun 24, 2013 5:29 pm
Reply with quote

In the context of your question what do you mean by "retrieve"?

OTOH, "latest generation" is GDG(0), previous-to-latest is GDG(-1) and so on, so if I understood what you mean - answer should be GDG(-59).
Back to top
View user's profile Send private message
kamireddy

New User


Joined: 17 Nov 2010
Posts: 8
Location: chennai

PostPosted: Mon Jun 24, 2013 5:35 pm
Reply with quote

They Syntax should fetch the 60th version..
I hope GDG(-59) is the right answer.
Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Jun 24, 2013 6:35 pm
Reply with quote

kamireddy wrote:
They Syntax should fetch the 60th version..
I hope GDG(-59) is the right answer.
Thanks

Generation .... NOT version
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: Mon Jun 24, 2013 7:14 pm
Reply with quote

Hello,

Quote:
They Syntax should fetch the 60th version..
I hope GDG(-59) is the right answer.
If there are 100 generatons cataloged (from 1 to 100), then (-59) will not be the wanted generation . . . I believe (-39) would be the generation to specify.
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 Jun 24, 2013 7:28 pm
Reply with quote

Now that's a nice twist you bring in, Dick! icon_smile.gif
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Jun 24, 2013 8:27 pm
Reply with quote

Well, not to split hairs, but the 60th generation would be G0060V00, maybe a diff version but the 60th generation is G0060.
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: Mon Jun 24, 2013 8:31 pm
Reply with quote

Which should be the generation used if (-39) is specified - or did i mess up?

d
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 Jun 24, 2013 8:47 pm
Reply with quote

I should hide myself somewhere, should I...should not I... icon_redface.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jun 24, 2013 9:01 pm
Reply with quote

the question as posed really makes little sense ...

GDGs logic goes backwards , not forward
nobody will keep count of when generations started accumulating but

but for the sake of discussion if no generations were rolled over/lost
and all of them where allocated

the 100th would the current one ...(0)
the 99th the ...(-1)

and if my math is not f***** up
the 60th the ...(-40)

but IMBBW
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