*DSPMODE (GETMODE)
*DSPMODE={value}
This list control retrieves the state of the output redirection for DISPLAY and KEYIN operations. Once a DSPMODE state has been established, the state remains invoked until the runtime terminates or until another state is invoked.
Value is numeric variable indicating one of the following modes:
|
Value |
Output ... |
|
0 |
in a normal mode without output redirection. |
|
1 |
with displayed data being redirected to the current OS stdout handle being used. |
|
2 |
with displayed data being redirected to a user specified file that has been attached or opened using the SETMODE *DISPLAY="filename" instruction. |
See Also: List Controls (GETMODE), GETMODE
![]() |