HCL Workload Automation, Version 9.4

The return code mapping feature

The return code mapping feature provides a standard way of mapping messages into return code values. You can also customize the return code mapping. This feature is available for the following access methods:
  • PeopleSoft
  • SAP R/3
The return code mapping feature provides more granularity when defining the success or failure policies of jobs and improved flexibility in controlling job execution flows based on execution results. Job return code mapping provides the following capabilities:
  • Users can define a job final status (successful or failed) based on a condition on the return code of the execution of the program or script of the job.
  • The return code can be provided also to the recovery job that is associated with it in the job definition. This causes the recovery job to perform different processing based on the return code.