On Thu, 13 May 1999 14:22:40 -0400, Michael Berkowitz
<[log in to unmask]> wrote:

>I don't know of any free report writer for Ksam files, but if you want a
>dump of a file for a key value you can use FCOPY.
>
>:FCOPY FROM=ksamfile;TO=;SUBSET="char string",start key column
>

It's been a while since I've done extensive work with KSAM files, but
I seem to recall that with CM KSAM, if the records do not need to be
retrieved in key order, you can significantly speed up the FCOPY by
adding ;KEY=0. I think that forces FCOPY to ignore the key file and to
sequentially read the data file. Lots less I/O that running down a
key's path in the key file and picking up the corresponding data
records.