Controlling the processing within Workload Automation Programming Language

Workload Automation Programming Language runs each command in sequence, running them from each of the input streams in the order that they are.

If a critical error occurs, no more commands are run except an automatic TERM command, if needed. A critical error is any statement that issues a return code of 12 or above. This limit can be changed with the OPTIONS STOPRC keyword.

The LISTSTAT command can issue a response code greater than 12 without causing a problem because the response code from LISTSTAT is only applied to the return code of the step immediately prior to termination of Workload Automation Programming Language. A response code is a special case of a return code to avoid STOPRC processing.

For conditional processing when comparing against a particular step return code, the highest value of the return code and response code is considered.

You can influence which statements are run within Workload Automation Programming Language by using a series of process control tags. These tags all begin with a colon and can be coded anywhere within a Workload Automation Programming Language statement following the initial command name.