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