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 / ram

i didn't understand the problem
how u write 34 and 46 as length

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the meaning of dynamic processing in vsam?

588


What are the common vsam error conditions and codes?

591


what is buffering and how does it apply to vsam files ?

716


What is the use of lds (linear data set)?

578


is it required that primary key values have to be unique? Do alternate key values have to be unique?

603






there are seven idcams commands in vsam. Can you name and explain each of them?

654


What are the access method services used in vsam?

596


What is the main function of key sequenced data set in vsam?

533


What is a base cluste?

608


Differentiate between ci split and ca split?

552


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

580


how many buffers are allocated to vsam ksds and esds?

714


What are the different parameters that are used in vsam?

725


Can you delete vsam files with the delete option of the disposition parameter of jcl?

658


what will happen when you try to open an empty vsam file in a cobol program for input?

623