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 |
In job processing, what happens in execution stage?
What statement marks the end of an in-stream or catalogued procedure?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
What is Backward Referencing ?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
SORT card to eliminate duplicity.
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?