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
But this section of code gives the error.
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