Adding custom messages
You can store custom status codes and their associated messages in the syserrors system catalog table.
To add a custom message:
- Determine the SQLSTATE code for the message you want to add.
- Insert a row into the syserrors system catalog table for the new message.