Return codes and reason codes generated by IBM Z Workload Scheduler
If a request through the API causes a severe error in
an IBM Z Workload Scheduler subtask,
you receive one of these CPI-C return codes:
- CM_PROGRAM_ERROR_NO_TRUNC
- CM_PROGRAM_ERROR_PURGING.
Besides CPI-C return codes, IBM Z Workload Scheduler can generate return codes and reason codes for the various requests that are made. Your program can test the results of the call to IBM Z Workload Scheduler by inspecting return codes and reason codes in the APP and APPOBJ sections of the buffer.