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 condition checking possible in jcl?

1193


For what purpose steplib and joblib are used ?

1123


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1095


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1088


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1218


Explain how can return codes be tested before execution of a job step?

1311


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2450


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1208


Explain in DD statement what is the use of DCB parameter?

1117


what is the difference between JES3 and JES2?

1113


Define concatenating?

1086


How does jcl act on code(if you take a cobol program)?

1260


What is use of restart and how to use it?

1291


What are the parameters that are used in creating a gdg?

1183


write a jcl to execute a job by 7:00 am on jan 20,1986?

1099