*KEYMODE (KEYIN)
*KEYMODE={value}
This list control specifies input redirection for KEYIN operations. Once a KEYMODE state has been established, the state remains invoked until the runtime terminates or until another state is invoked.
Value is numeric variable or decimal constant indicating one of the following modes:
|
Value |
Meaning ... |
|
0 |
Data input executes without redirection. |
|
1 |
Input data is retrieved using the current OS STDIN handle. |
|
2 |
Input data is retrieved from a user specified file that has been attached or opened using the SETMODE *KEYIN="filename" instruction. |
See Also: List Controls (KEYIN), List Controls (KEYIN and DISPLAY), DISPLAY, KEYIN
![]() |