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

What is the COBOL RECORD KEY clause?

2 Answers  


On which dataset you can have alt index?

0 Answers  


what is freespace

2 Answers   EDS,


explain in brief why do vsam take more disk space than other utilities?

0 Answers   IBM,


Alt key is used for what type of vsam file

3 Answers  






How to delete a member using JCL.?

5 Answers  


Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?

1 Answers  


when u r using repro command what happens if both infile and outfile names same

4 Answers  


In the COBOL SELECT statement for a KSDS what are the three possibilities for ACCESS?

3 Answers  


what do you mean by a shareoptions parameter (shr) in define cluster command?

0 Answers   IBM,


What is Base Cluster ?

1 Answers  


can any one tell "in esds in what structure records will stored?"

1 Answers  


Categories