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 do you mean by the cobol record key clause in vsam?
What are the distinctive features of a ksda, key sequenced dataset?
On which dataset you can have alt index?
What is the device independent method to indicate where a record is stored?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
Why is it required to have a keyed directed retrieval?
What are the different versions of gdg named?
what do you mean by define model parameter?
what is the purpose of the verify function of idcams?
What is a lds (linear data set) and what is it used for?
explain the information contained in ci
What are the different parameters that are used in vsam?
How do you calculate record size of an alternate cluster?
what is the use of the file status clause in the select statement in vsam?
what will happen if there is no secondary allocation made for datasets?