If your programming language allows you to monitor
error messages, you can choose which messages you want to monitor.
Here are some of the error messages that you can
monitor.
Table 1. Sample of monitorable error messages
| Message identifier |
Description |
| CPF5001 |
End of file reached |
| CPF5006 |
Record not found |
| CPF5007 |
Record deleted |
| CPF5018 |
Maximum file size reached |
| CPF5025 |
Read attempted past *START or *END |
| CPF5026 |
Duplicate key |
| CPF5027 |
Record in use by another job |
| CPF5028 |
Record key changed |
| CPF5029 |
Data mapping error |
| CPF502B |
Error in trigger program |
| CPF502D |
Referential constraint violation |
| CPF5030 |
Partial damage on member |
| CPF5031 |
Maximum number of record locks exceeded |
| CPF5032 |
Record already allocated to job |
| CPF5033 |
Select/omit error |
| CPF5034 |
Duplicate key in another member's access
path |
| CPF503A |
Referential constraint violation |
| CPF5040 |
Omitted record not retrieved |
| CPF5072 |
Join value in member changed |
| CPF5079 |
Commitment control resource limit exceeded |
| CPF5084 |
Duplicate key for uncommitted key |
| CPF5085 |
Duplicate key for uncommitted key in another
access path |
| CPF5090 |
Unique access path problem prevents access
to member |
| CPF5097 |
Key mapping error |
|
You can display the full description of these messages using the
Display Message Description (DSPMSGD) command.