PURPOSE: The INTERRUPTS option controls the ability to abort an ACCENT R operation with Control-C. This command is valid in a CM, PM, SF and as a direct command.
{ENABLE; DISABLE} INTERRUPT/S/ [{IF; UNLESS} clause]
ENABLE |
allows command or subcommand execution to be aborted when one or more Control-C(s) is typed. This is the default state. |
DISABLE |
causes ACCENT R to ignore all Control-C(s). |
{IF; UNLESS} clause |
specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect. |
NOTES: See also the system field @ABORT.CM and @INTERRUPTS.CM.
Control-C sends a "cancel" message to ACCENT R and is subject to the INTERRUPTS option status. Control-Y sends an "interrupt" message to ACCENT R. Control-Y will send control to the DCL level regardless of INTERRUPTS option status. Execution of the ACCENT R session can be restored with the DCL command CONTINUE (must be the first valid command entered at the DCL prompt).
Use the DCL SET command to disable Control-Y outside of ACCENT R. The syntax is:
SET [NO] CONTROL=Y