Hi all,
My memory of CM KSAM is as follows. A user label in the data file
holds the name of the key file, so that the file itself just holds
user data. The key file does not have user labels. It has some
header blocks which precede the key blocks. They contain the name of
the data file, descriptions of the keys, and counts of operations
(opens, reads, etc.) against the file. The key file is opened for
write access even when the KSAM file is opened only for read, in
order to update the counts. The key file will be modified whenever
the KSAM file is opened for any reason (although perhaps not when the
data file is opened NOKSAM).
Jim
Jim Kramer /Lund Performance Solutions
Director of Research and Development
phone: (541) 926-3800 fax: (541) 926-7723
email: [log in to unmask] home: [log in to unmask]http://www.lund.com