*EOFON (KEYIN)


9.3

*EOFON

 

When this control is executed, a program SHUTDOWN operation is executed when a KEYIN detects that the standard input has failed. This control remains in effect until an *EOFOFF is executed.

Note:

  1. 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.

  2. If these controls are used in a program, the application program must be aware that the KEYIN now affects the EQUAL flag.

  3. 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)



PL/B Language Reference *EOFOFF (KEYIN) *EON (KEYIN)