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 |
Tell about the ams used in vsam?
difference between vsam and database tables
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
What is the place for VSAM KSDS?
What is the difference between lds and esds?
what is control interval(CI) and control Area(CA)
What are the common vsam error conditions and codes?
What does the keyranges parameter in define cluster commends do?
What makes vrrds different from vsam?
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
What is the difference between PS file and VSAM file?
7 Answers IBM, Infosys, Verizon,
The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..