I have three fields in a Variable VSAM file
X(2)
Y(10) occurs X times
Z(02)
Say for the first record X=2
then the length of the file is
2+(10*3)+2=34
second record, x=4 then 4+(10*4)+2=46
If any time if the field x is updated then the total length
changes. Is it feasible?
Is it
Answers were Sorted based on User's Feedback
Answer / satish
yes,as you say occurs X times for every record. but not x times
for single record. so your total length is
if x=2
then 1st record--> 2+(10*2)+2=36.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of control intervals in vsam?
Is a delete operation possible in an ESDS?B. Is rewrite operation possible in ESDS ?
what do you mean by recovery and speed parameters in define cluster command?
what is the use of aix in vsam why do we go for aix and wht is build index in vsam?
How can you create a VSAM dataset? Can you write a JCL for it?
if not using the 'commit' when closing VSAM file,what will happend
What is a CA, control area?
Would you specify FREESPACE for an ESDS?
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
Discuss record management in vsam?
Using alternate indexes in batch program?
Create syntax for a VSAM file ?