Reading AOEXEC return codes


All AOEXEC commands return values in return codes that are listed with each AOEXEC command.

The values are returned differently depending on from where the AOEXEC command is issued.

  • If you schedule a REXX EXEC from a TSO session (or ISPF Option 6 or anyplace other than from inside a BMC AMI Ops Automation terminal session), the return codes are returned in the RC variable.

  • If you schedule a CLIST from a TSO session (or ISPF Option 6 or anyplace other than from inside a BMC AMI OpsA terminal session), the return codes are returned in the LASTCC variable.

  • If you schedule a REXX EXEC or a CLIST from inside a BMC AMI OpsA terminal session, the return codes for both types of EXECS are returned in the IMFRC variable.

See AOEXEC-common-return-codes for a list of return codes that are common to all the AOEXEC commands.

Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*