+ONERROR


The +ONERROR parameter determines the action that BMC AMI Utilities take when an error occurs when you attempt to execute a product. The primary purpose is when processing multiple statements, wildcards, or object sets.  The general recommendation and shipped value is CONTINUE.

ONERROR.png

ABEND

(default) If an error is encountered, the task abends with a return code of either 8 or 16, depending on the severity of the problem. The final return code is a User abend. For example, U0008.

CONTINUE

If BMC AMI Utilities encounter an error during processing of this object, the utilities issue messages, performs cleanup of the current function, and continues processing with the next statement. The final return code depends on the severity of the error and +CLEANUP.


Example
+ONERROR(CONTINUE)

If BMC AMI Utilities encounter an error when processing this object, it continues with the next statement.

Important

For the rules that apply to parameter syntax, see Parameter syntax rules.

 

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