Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


can we maintain 2 generations with different Lengths in Same
GDG ?

Answers were Sorted based on User's Feedback



can we maintain 2 generations with different Lengths in Same GDG ?..

Answer / somalaraju

i told yes,but he asked have u ever tried with this type of
generations in same GDG.
I told that we can provide different lengths while creating
the Generations even they belong to same GDG, but i never get
a chance to do that one.

Is This Answer Correct ?    19 Yes 5 No

can we maintain 2 generations with different Lengths in Same GDG ?..

Answer / vishal

Yes, we can definitely have different GDG versions with
different LRECL. e.g. in the below change the LRECL to as
per your needs and each time it will generate the GDG
version with the LRECL provided.

//DD1 DD DSN=BASEG(+1),DISP=(NEW,CATLG,CATLG)
DCB=(MODELNAME,LRECL="WHAT U WANT"

However, there is a catch. If the GDG is being updated by a
program then whatever length has been declared in the
program (of the file corresponding to DD1), the GDG version
will have that same length, irrespective of the length
declared in the JCL.

Note: I guess if the length declared in the Program is
greater than that LRECL given in the JCL then we may face
JCL errors but I am not sure of this. SomEene can check and
let everyone know.

Is This Answer Correct ?    8 Yes 0 No

can we maintain 2 generations with different Lengths in Same GDG ?..

Answer / krishna

YES
by overideing the LENGTH PARAMETER of model dataset

SYNTAX:
//DD1 DD DSN=BASEG(+2),DISP=(NEW,CATLG,CATLG)
DCB=(MODELNAME, RECLNG="WHAT U WANT"

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More JCL Interview Questions

I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


shall we concordinate two different length dataset in to a new date set.

6 Answers  


How do you restart a step in JCL?

12 Answers   HSBC,


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  


What are the 4 fields in dd statement?

0 Answers  


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


How to execute only th 15th step of JCL consisting of 50 steps?

12 Answers   Bank Of America,


How jcl is used for testing batch programs?

0 Answers  


what is SOC4 error?

0 Answers  


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


Is their any limit for data sets?

0 Answers  


Categories