INTERRUPT
INTERRUPT causes attention interrupts to be recognized by Language Environment. When you cause an interrupt, Language Environment can give control to your application or to a debug tool.
The default value for non-CICS applications is INTERRUPT(OFF).
INTERRUPT is ignored under CICS®.
Syntax .-OFF-. >>-INTerrupt--(--+-----+--)------------------------------------>< '-ON--'
- OFF
- Specifies that Language Environment does not recognize attention interrupts.
- ON
- Specifies that Language Environment recognizes attention interrupts.
z/OS® UNIX considerations
- In a multithreaded application, only one thread in the enclave is affected for a particular attention interrupt.
Usage notes
- PL/I consideration: Language Environment supports the PL/I method of polling code. The PL/I routine must be compiled with the INTERRUPT compiler option in order for the INTERRUPT runtime option to have an effect.
- PL/I MTF consideration: To receive the attention interrupt, the PL/I program must be compiled with the INTERRUPT compiler option, and the INTERRUPT runtime option must be in effect.
- PL/I MTF consideration: The INTERRUPT option applies to the enclave. However, only one thread in the enclave is affected for a particular attention interrupt.
- If you have specified the TEST(ERROR) or TEST(ALL) runtime option, the interrupt causes the debug tool to gain control. See TEST | NOTEST for more information about the TEST runtime option.