The CLIENTMSG structure contains the following two key fields that should be processed by the application program:
CMSG_OC_MSGNO – contains the error message number that was locally generated by Client-Library when it detected an error
CMSG_OC_MSGTEXT – contains the error message text