&ERRABORT [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
&ERRABORT
Syntax
&ERRABORT {condition}
where:
condition boolean number
Description
&ERRABORT enables or disables the aborting of a script if a syntax error
in an executable command line is encountered. Condition will be 0 to
disable aborting and 1 to enable aborting. The default setting is 1. If
set to 0, and a syntax error is found, the script carries on wherever
possible. Only errors with script file commands will be reported, errors
in HP Desk commands included in a script will be picked up by HP Desk,
when the script is run. Active functions can be used in conjunction with
this command.
Example
&ERRABORT 0
&<ACTIVEFN <PROMPT "Directive &" "Exit">>
&BACK 1
If you are using <ACTIVEFN> to make sure a script command works as
expected before you use it, &ERRABORT 0 will cause the script to report
an error if you make a mistake in the syntax of the <ACTIVEFN> command,
but will not terminate the script.
MPE/iX 5.0 Documentation