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

A question on GDG :


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

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Wed Mar 03, 2010 5:33 pm
Reply with quote

Suppose we are creating two generations of a GDG in a job.


step1 => +(1)

step2 => +(2)

can variable record lenght GDG be created. If yes any specific option is used?

Let me know the answer of this..
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Mar 03, 2010 6:27 pm
Reply with quote

What makes you think that a GDS must be FB ?
Back to top
View user's profile Send private message
sampathkmn
Warnings : 1

New User


Joined: 12 Dec 2005
Posts: 31
Location: bangalore

PostPosted: Wed Mar 03, 2010 6:58 pm
Reply with quote

GDG can have any type of record formats(FB,VB,..). Even we can catalog two different generations under same GDG base with different properties.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 03, 2010 7:04 pm
Reply with quote

having generations with different dcb attributes is not be a pleasant environment to work with
Back to top
View user's profile Send private message
Bang_1

New User


Joined: 08 May 2009
Posts: 39
Location: Bangalore

PostPosted: Wed Mar 03, 2010 7:16 pm
Reply with quote

Just mention different LRECLs on both the versions...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Mar 03, 2010 7:34 pm
Reply with quote

Bang_1 wrote:
Just mention different LRECLs on both the versions...

When talking about GDS it is important to use the correct terminology, as both version and generation are both valid in terms of a GDS.

It is a well known fact that only one version of a GDS may exist at any one time, however, multiple generations may exist together.

Please learn and use the correct terminology when posting, as using the wrong term can cause confusion and possibly delay a resolution to a problem

It would also be interesting to see your idea of mentioning the LRECL in action. Please elaborate.
Back to top
View user's profile Send private message
Bang_1

New User


Joined: 08 May 2009
Posts: 39
Location: Bangalore

PostPosted: Wed Mar 03, 2010 7:36 pm
Reply with quote

Sure Expat.... learnd one thing today.. thanks for that.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Mar 03, 2010 8:36 pm
Reply with quote

Explanation in your post is cryptic, Mukesh. When you say,
Quote:
can variable record lenght GDG be created
it can meam two things (for somone from non-english background) 1. Can GDGs have RECFM=VB? 2. Can first GDG have RECFM=FB and other as RECFM=VB, in the same JCL?

DCB information related to any GDG related to "Generation Data Set" and not to the "GDG base". So original question, to start with, does not have any ground - you can have a different DCB info for different GDGs under the same base, but more important question is - why would you like to do that? If that was the requirement, different QSAM files must have been my choice.
Back to top
View user's profile Send private message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Thu Mar 04, 2010 11:14 am
Reply with quote

thanks all the moderators for their valuable answers. it was asked to me in interview hence wanted to clarify the doubt.

its clear to me now.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Mar 04, 2010 2:15 pm
Reply with quote

Nice to hear that, good luck for the next interview...icon_smile.gif
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