Each service returns a numeric code, called a return code, indicating the results of the operation. These return codes are summarized in Table 1.
Operation Results | Return Code | Reason |
---|---|---|
Normal completion | 0 | Indicates that the service completed operation without errors. |
Exception condition | 4, 8 | Indicates a condition that is not necessarily an error, but that the dialog should be aware of. A return code of 4 is informational, while an 8 generally indicates a non-terminating error condition, such as the end of a data set or member list. |
Error condition | 10, 12, 14, 16, 20 | Indicates that the service did not complete operation because of errors. Use the CONTROL service to control errors with a return code of 12 or greater. Return codes of 10 and 14 are particular to PDF component services. |
Return codes and their meanings vary for each service and are listed with each service description in this topic.