The EPI INQINPUT command lets you verify that the virtual keyboard is not locked. Use this command before you issue the TYPE command. This verification shows that its input inhibited indicator is off and that it can accept input from the REXX program that issued the INQINPUT command.
EPI INQINPUT has the following format:
ADDRESS EPI "INQINPUT keywords"
{termname|*}
[NOWAIT|WAIT]
Defines the name of the terminal about which you are inquiring.
Inquire about the state of the current terminal that is defined through the SETTERM command.
(Optional) Tells EPI to return the current state of the input indicator immediately. To force this indicator to off, allowing the program to send data to the virtual terminal, issue this command:
TYPE termname !RESET
Issuing this command does not prevent the external product from turning the indicator back on.
(Optional) Tells EPI to place the program issuing the INQINPUT command into a wait state until the external product connected to this virtual terminal has unlocked the keyboard.
The following sample coding statement causes the REXX program that interacts with the TERM2 virtual terminal to pause until the virtual keyboard can accept input:
INQINPUT TERM2 WAIT
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|