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 |
By seeing a program how we findout it is a VSAM program?
What is control area?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
what is vsam catalog ?
What is the maximum no. of records that can be allowed in VSAM ?
Define gdg?
explain in brief how you can create a vsam file?
Explain the function of the relative record data set?
What is the index set?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
What is the catalog?