Return codes for IBM i (ILE RPG)
This information describes the return codes associated with the MQI and MQAI.
The return codes associated with:- Programmable Command Format (PCF) commands are listed in Programmable command formats reference.
- C++ calls are listed in Use C++.
For each call, a completion code and a reason code are returned by the queue manager or by an exit routine, to indicate the success or failure of the call.
Applications must not depend upon errors being checked for in a specific order, except where specifically noted. If more than one completion code or reason code could arise from a call, the particular error reported depends on the implementation.