All Open ClientConnect functions return success or failure indications in their RETCODE arguments. It is highly recommended that applications check these return codes for each call.
In addition, Open ClientConnect applications must handle three types of error and informational messages:
Open ClientConnect messages, also known as “client messages,” are generated by the functions documented in this book. They range in severity from informational messages to fatal errors.
Operating system messages.
Server messages—messages generated by the server. Server messages also range in severity from informational messages to fatal errors.
For a list of messages, see the Mainframe Connect Client Option and Server Option Messages and Codes.