Suppose a generation of GDG gets created in a particular
step of a proc. How would you refer the current generation
in a subsequent step? What would be the disposition of this
generation now?
Answers were Sorted based on User's Feedback
Answer / guest
Relative generation numbers are updated only at the end of
the job, not at the end of a step. To allocate a new
generation, we would be using (+ with a DISP of
(NEW,CATLG,DELETE). To refer to this in a subsequent step in
the same job, we would again use (+ but with a DISP of SHR
or OLD.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / preethi
Assume am creating a generation for a base A.GDGB.V
DD DSN=A.GDG.V(+1),DISP=(,catlg,),space patameters,DCB
parameters
to use the above created version in next step in the same
JCL, i need to use as below:
DD DSN=A.GDG.V(+1),DISP=SHR
| Is This Answer Correct ? | 0 Yes | 0 No |
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
What does the keyranges parameter in define cluster command do?
Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
How many cluster index can have in a table?
What is a CA, control area?
What happens when you open an empty VSAM file in a COBOL program for input?
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
what is meant by s0c-07 system abend codes?
What is the use of VSAM files? How to read this ?
why ci and ca splits are not possible in esds and rrds?