Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
A question on GDG :

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: A question on GDG :
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 03, 2010 6:27 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10311
Location: italy

PostPosted: Wed Mar 03, 2010 7:04 pm    Post subject: Reply to: A question on GDG :
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 03, 2010 7:34 pm    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Wed Mar 03, 2010 8:36 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 04, 2010 2:15 pm    Post subject:
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    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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us