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


Please Help Members By Posting Answers For Below Questions

What is the biggest disadvantage of using a vsam dataset?

609


Tell about the ams used in vsam?

679


Differentiate between ci split and ca split?

552


how do you define an altindx ? How do you use altindxs in batch, cics programs?

612


What is the main function of linear dataset?

563






What makes vrrds different from vsam?

709


what will happen if there is no secondary allocation made for datasets?

623


Explain the significance of the shareoptions parameter?

537


Define free space?

577


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.

1880


Differentiate between control interval (ci) and control area (ca)?

536


what is meant by dirty read in vsam?

844


Explain the function of the relative record data set?

543


What is the function of entry sequenced data set?

650


What are the access method services used in vsam?

596