Hi,
I'm trying to update a program described file.
I have tried setting the F specs up to allow processing by key by placing the following information in the noted locations:
07-14: file name
15: "U"
16: "F"
19: "F"
26-27: File length (32)
30: The length of the key (8)
31: "A"
32: "I"
38: The starting position of the key field (1)
40-43: DISK
66: "A"
71-72:"UC"
I then coded a DS as the key with a field defined as 8 bytes.
When the program runs I open the file and chain using the DS and get CPF5149 which basically informs me that the operation for the file is not valid!
What am I doing wrong?
Software/Hardware used:
ASKED:
August 10, 2009 9:15 PM
UPDATED:
August 11, 2009 2:56 PM
BINGO!
No DDS specs for the file so it’s not an indexed file.
It’s simply a flat file used to hold some data, created by the cl before the call to this pgm.