Causes an ATTENTION ON-unit to be entered.
Enabled/Disabled status
Always enabled.
Result
Terminates the application when no ATTENTION ON-unit exists.
Raised
When the user hits a specific key combination to interrupt processing to enter an ATTENTION ON-unit.
The condition can also be raised by a SIGNAL ATTENTION statement.
Note
The specific key combination is determined by the operating system as follows:
- On Windows, CTRL-BRK and CTRL-C. No ATTENTION ON-units are driven on Windows as a result of the user entering CTRL-BRK or
CTRL-C key combinations. The implicit action is taken.
- On the host, the ATTN key, if available.
Other information
- Abbreviation
- ATTN
- Condition code
- 400
- Implicit action
- The application terminates.
- Normal return
- On return from an ATTENTION ON-unit, processing resumes at a point in the program immediately following the point at which
the condition was raised.