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
 

 

Interview question on GDG

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

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jun 24, 2013 5:29 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 24, 2013 6:35 pm    Post subject:
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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 24, 2013 7:14 pm    Post subject:
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

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jun 24, 2013 7:28 pm    Post subject:
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    Post subject:
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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 24, 2013 8:31 pm    Post subject:
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

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jun 24, 2013 8:47 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Mon Jun 24, 2013 9:01 pm    Post subject: Reply to: Interview question on GDG
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    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 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
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am


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