Monitoring database file errors in a program

 

When your applications perform operations on database files, monitor messages about file errors so as to take appropriate actions to prevent the errors.

Each high-level language (HLL) provides its own procedure for monitoring these messages, and you should see the documentation for the HLL you are using to implement error message monitoring. One or more of the following events occur when error conditions are detected during processing of a database file:

For example, the COBOL language sets a return code in the file status field if it is defined in the program.

 

Parent topic:

Processing database files