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
How does control intervals and control areas related to each other?
Differentiate between control interval (ci) and control area (ca)?
What is the use of access method services in vsam?
What are the access method services used in vsam?
What is speed parameters in define cluster command?
Using alternate indexes in batch program?
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
What is the main function of key-sequenced data set?
What is the biggest disadvantage of using a vsam dataset?
What is a vsam dataset?
What are the different versions of gdg named?
Explain about the file objects in vsam?
what do you mean by idcams? Explain its purpose?
what will happen if there is no secondary allocation made for datasets?
what is the meaning of dynamic processing in vsam?