*EOFOFF (KEYIN)
9.3
*EOFOFF
When this control is executed, the *EOFON or the *EOFFLAG control is canceled and the KEYIN instruction executes without detecting that the standard input has failed.
Note:
The *EOFOFF and *EOFFLAG modes are mutually exclusive. When one mode is activated, the other mode is automatically canceled. The *EOFOFF must be used to cancel either mode.
If these controls are used in a program, the application program must be aware that the KEYIN now affects the EQUAL flag.
The implementation of these controls is to address a situation where a program continued to execute after a Telnet client session was terminated prematurely.
See Also: List Controls (KEYIN Only)
![]() |