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 distinctive features of a ksda, key sequenced dataset?
why ci and ca splits are not possible in esds and rrds?
On which datasets You can have ALT INDEX?
can you specify some the distinctive features of a ksds, key sequenced dataset?
How to delete a member using JCL.?
What are the different dataset organizations used in vsam?
what is difference between repro and export? if any one know this plz tell me
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?
Syntax of AMS modal commands ?
What is the difference between lds and esds?
What is the meaning of each of the values in SHAREOPTS(2 ?
How do you define a KSDS ?