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 |
What are the different dataset organizations used in vsam?
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
looking at the basic definition of VSAM file how to recognize whether it is a KSDS OR RRDS OR ESDS ?
How do you define a KSDS ?
should a AIX should be a unique value?
What are the optional parameters to the input dataset While loading the empty cluster with the data records?
What is the catalog?
By seeing the file itself how can we identify whether it is A vsam file or flat file
State the differences between vsam and non-vsam files?
what are s0c1, s0c4, s0c5, s0c7 abends?
there are seven idcams commands in vsam. Can you name and explain each of them?
Using alternate indexes in batch program?