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 purpose of the verify function of idcams?
explain how can you initialize a vsam file before any operation?
Differentiate between ci split and ca split?
What is the main function of key-sequenced data set?
Explain the process in which flat files are converted into vsam files?
What is recovery parameters in define cluster command?
What is the purpose of having vsam data space?
what is the use of the file status clause in the select statement in vsam?
if you wish to use the rewrite command how must the vsam file be opened?
Define dynamic processing?
What are the different versions of gdg named?
State the differences between vsam and non-vsam files?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
what will happen if there is no secondary allocation made for datasets?
Explain the biggest disadvantage of using a vsam dataset?