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
Answer Posted / 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 |
Post New Answer View All Answers
What is the biggest disadvantage of using a vsam dataset?
Tell about the ams used in vsam?
Differentiate between ci split and ca split?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What is the main function of linear dataset?
What makes vrrds different from vsam?
what will happen if there is no secondary allocation made for datasets?
Explain the significance of the shareoptions parameter?
Define free space?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
Differentiate between control interval (ci) and control area (ca)?
what is meant by dirty read in vsam?
Explain the function of the relative record data set?
What is the function of entry sequenced data set?
What are the access method services used in vsam?