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 |
print ids(/)char??what is the full form of ids??
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
What is a cluster?
What is free space?
if you wish to use the rewrite command how must the vsam file be opened?
What is the place for VSAM KSDS?
How to createing new version of GDG with out loosing the data in preaves GDG version?
What is the Difference between LDS & ESDS ?
What is the purpose of relative record data set used in vsam?
What is the main function of key sequenced data set in vsam?
What is the maximum number of Alternate Index ???
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?