Adding custom messages

You can store custom status codes and their associated messages in the syserrors system catalog table.

To add a custom message:

  1. Determine the SQLSTATE code for the message you want to add.
  2. Insert a row into the syserrors system catalog table for the new message.

Copyright© 2019 HCL Technologies Limited