can we maintain 2 generations with different Lengths in Same
GDG ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain how can an in-stream dataset be terminated?
What is the use of DSNDB07 ?
What are isolation levels? Where do we need to specify them in compiling JCL?
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
How to overide the symbol parameter in the jcl ?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what is the purpose of coding notify parameter in job statement?
What is concatenating?
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
Is it possible to code instream data in a PROC?
delete rules in db2
List in order the hierarchical levels of jcl?