cannot figure out why I got this error message on an abend:
.START ERROR ON TIN-RATE FILE
.TIN-RATE STATUS = 47
I opened the file with this code and did not get an error so I know the file is open as input:
OPEN INPUT TIN-RATE-FILE
IF TIN-RATE-STATUS NOT = '00' AND '97'
DISPLAY 'OPEN ERROR ON TIN-RATE-FILE'
DISPLAY 'TIN-RATE-STATUS = ' TIN-RATE-STATUS
CALL ABEND200.
But this section of code gives the error.
START TIN-RATE-FILE
KEY NOT < TIN-RATE-KEY.
IF TIN-RATE-STATUS NOT = '00' AND NOT = '23'
DISPLAY 'START ERROR ON TIN-RATE FILE'
DISPLAY 'TIN-RATE STATUS = ' TIN-RATE-STATUS
CALL ABEND200.
Any ideas?