Return codes

Return codes are returned after each call to the QMF callable interface. Return code values are described by the interface communications area provided with QMF.

The values of return codes can be different on other systems. If you want your applications to be portable across systems, the applications must reference the values of these codes by the variable names. The names of the return-code variables within the interface communications area are documented with the programming language specification.

This table shows the possible return codes for callable interface conditions.

Table 1. Callable interface return codes
Value Explanation
0 Successful execution
4 QMF session marked for termination by an EXIT or END command
8 Execution failed, but the error did not mark the session for termination
16 Severe error: session marked for termination