Effect of error messages on file positioning
If a message is sent to your program when your program is processing a database file member, the position in the file is not lost. The position remains at the record it was positioned to before the message was sent, except:
- After an end-of-file condition is reached and a message is sent to the program, the file is positioned at *START or *END.
- After a conversion mapping message on a read operation, the file is positioned to the record containing the data that caused the message.
Parent topic:
Monitoring database file errors in a program