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 |
If you wish to use the REWRITE command haw must the VSAM file be opened?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
Explain the process in which flat files are converted into vsam files?
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
What is the difference between PS file and VSAM file?
7 Answers IBM, Infosys, Verizon,
Would you specify FREESPACE for an ESDS?
On which dataset you can have alt index?
How to rename one vsam file as well as it's index?
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..
what's the device independent method to indicate where a Record is Stored?
What is an RBA in rrds? What does it do? What is it used for?
Using alternate indexes in cics program?