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
Answers were Sorted based on User's Feedback
Answer / 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 |
Can we copy a sequential file to a VSAM file ? If yes, What will happen of the size of the sequential file is bigger than that of the VSAM file?
what are the idcams commands that can be used for vsam and explain each of them.
What is a VSAM slot?
What is the difference between lds and esds?
What is the catalog?
By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?
5 Answers Cognizant, EDS, Shridhar,
What is the procedure for running the batch job in mainframe?
explain how do you define a gdg in vsam?
print ids(/)char??what is the full form of ids??
How to createing new version of GDG with out loosing the data in preaves GDG version?
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
In vsam at the cluster creation for KSDS FREESPACE parameter is required but for ESDS FREESPACE parameter is not required ?