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

name a few common vsam status codes?

607


Discuss record management in vsam?

543


explain the differences between vsam and non-vsam files

639


What are the steps involved in access method services?

535


Why is it required to have a keyed directed retrieval?

551






Tell me how many alternate indexes you can have on a dataset?

605


how can you copy to a vsam cluster?

623


what do you mean by a vsam split?

573


differentiate between sequential files and esds files in vsam?

577


Define free space?

561


What is control area?

638


explain how can you initialize a vsam file before any operation?

651


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

581


What are the information stored in ci?

570


in a cobol select statement, can you tell what is the organization for a ksds?

621