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.
The conversation is deallocated, and CPI-C return code CM_RESOURCE_FAILURE_NO_RETRY is set. Here, do not resend the buffer to HCL Workload Automation for Z until problem determination establishes a reason for the previous error. For information about CPI-C return codes, refer to CPI-C Communications Reference.

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.