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



Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the cu..

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

Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the cu..

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

Post New Answer

More VSAM Interview Questions

Is a delete operation possible in an ESDS?B. Is rewrite operation possible in ESDS ?

3 Answers  


What do you mean by RDW in VSAM?

2 Answers  


is there any lock for vsam file so that no one can update the vsam file ?

2 Answers   HCL,


what do you mean by define model parameter?

0 Answers   IBM,


what is vsam catalog ?

2 Answers   Tech Mahindra,






Using alternate indexes in batch program?

0 Answers  


Tell me how many alternate indexes you can have on a dataset?

0 Answers  


By looking into the Jcl can we identify the dataset is VSAM?

5 Answers   Cognizant, Keane India Ltd,


What is a ca split?

0 Answers  


By seeing a program how we findout it is a VSAM program?

6 Answers   TCS,


what is the use of aix in vsam why do we go for aix and wht is build index in vsam?

5 Answers   HCL, IBM,


How to open VSAM file from 3.4? i have millions of records and i dont want to use the print ch ids(/) command bcz it takes to much time. so if you have any another command to open this plz tell me.

2 Answers   HSBC,


Categories