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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to define dd statements as you want?

1060


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5473


How can a jobs execution priority be modified?

1230


How do you access an uncatalogued dataset in a jcl?

1158


which parameter is use to declare the name of dataset in dd statement?

1193


List the various advantages of using jcl language?

1386


Explain how can a stopped job be started again?

1079


What is the purpose of disp parameter?

1052


Is automatic restart possible in jcl?

1149


In job processing, what happens in execution stage?

1135


Which statement is used to identify the private libraries in job?

1126


Does jcl support automatic restart?

1176


what sort card you will use to copy the data from one dataset to another dataset?

1138


What is catelog procedure and how many catelog procedure to use in one job?

8548


Explain the function of dd disp parameter?

1046