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 |
Differentiate between ci split and ca split?
What is a lds (linear data set)?
Syntax of AMS modal commands ?
can you specify some the distinctive features of a ksds, key sequenced dataset?
what is the meaning of each of the values in shareopts(2 3)?
How vsam datasets are cataloged?
What are the three levels of definition for the VSAM DEFINE?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?
Is CA(Control Area) is part of CI(Control Interval)
How are different versions of GDG named ?
While designing vsam files,what is the best way to choose control interval size for the data and the index?
Create syntax for a VSAM file ?