Return codes

When you run the VM version of IOCP, IOCP returns one of the following codes at the completion of the job:

Table 1. VM version of IOCP
Return code (decimal) Description and action
0 IOCP has completed the requested function without error, and might have sent one or more informational messages. If so, the informational messages in the output listings or the reports describe the specific conditions.
2 IOCP has completed the requested functions without error but has sent one or more caution messages. The caution messages in the output listings or the reports describe the specific conditions.
4 IOCP has completed the requested functions without error but has sent one or more warning messages. The warning messages in the output listings or the reports describe the specific conditions.
8 IOCP has encountered an error and has ended processing before completing the requested function. The error message in the output listing describes the specific condition.
12 IOCP has ended because the output data set DCB failed to open. IOCP was unable to print messages or reports. Ensure that the FILEDEF command for the output data set is correct. You can query the data definitions for all files by issuing the CMS FILEDEF command without operands.
16 IOCP has ended because it was unable to obtain enough storage. To determine the necessary amount of storage, see IOCP storage requirements. Define more virtual storage, re-IPL, and issue the IOCP command again.

In addition to the return codes listed, the CMS-IOCP interface module, DMSICP, sends its own error messages with corresponding return codes for each message. For the return codes generated with error messages, see IOCP messages (DMSICP prefix).