uxsetabort - Prevent Cancellation

Valid on Windows, UNIX and OpenVMS

This section describes the uxsetabort command used to define a zone in the script of the Uproc that cannot be interrupted by a stop command from an operational interface of Dollar Universe:

Operating system commands can still be used to kill a process but this is not recommended.

This command can only be executed from the script of a Uproc. Its execution is traced in the Uproc’s job log and history trace.

If the operator requests that execution of the Uproc be canceled while in the protected zone, a message informs him of the parameter behavior:

If the operator cancels an execution outside of the protected zone, the cancellation will take immediate effect whatever the command configuration parameters.

The command syntax is as follows:

uxsetabort allow=on|off [queue=on|off]

Description of Items

Examples

If the protected zone is delimited by a start command (uxsetabort allow=off) and an end command (uxsetabort allow=on), the behavior is as follows, depending on the value of the item queue:

If queue=on, the stop command is executed after the end of the protected zone.

If the protected zone extends to the end of the script, the behavior is as follows, depending on the value of the item queue:

If queue=on, the stop command is memorized and executed at the end of the Uproc script. The execution status of the Uproc is then Aborted. If the Uproc was part of a session, the error path of the session (if it exists) will be executed.