Preka
Programmer
- May 11, 2004
- 55
Quite basically, how do I do it?
The book I have says that, to read an indexed file, I have to first move a value into the key field to do it. Ok, fine, got it.
But I have an indexed file with about 35 records on it and I want to write the whole thing sequentially to another file. Typing each of the keys in manually is obviously impractical. I figure there has to be a fairly simple way to do it, but I don't know how.
Thanks for any help,
Cobol-newb.
The book I have says that, to read an indexed file, I have to first move a value into the key field to do it. Ok, fine, got it.
But I have an indexed file with about 35 records on it and I want to write the whole thing sequentially to another file. Typing each of the keys in manually is obviously impractical. I figure there has to be a fairly simple way to do it, but I don't know how.
Thanks for any help,
Cobol-newb.