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 are s0c1, s0c4, s0c5, s0c7 abends?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
Explain the index set?
Explain the function of entry-sequenced data set?
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.
What are the different versions of gdg named?
what do you mean by idcams? Explain its purpose?
What is the purpose of idcams?
Explain the biggest disadvantage of using a vsam dataset?
What is the main function of linear dataset?
Using alternate indexes in batch program?
can you specify some the distinctive features of a ksds, key sequenced dataset?
Differentiate between ci split and ca split?
what is meant by s0c-07 system abend codes?
What is a ci split?