The Wait function is used to give host requests
like those made by the Send Key (3) function
the time required to be completed. Using the Set
Session Parameters (9) function, you can request the TWAIT, LWAIT,
or the NWAIT option. See item 12.
You can use this function to see if the host OIA is inhibited.
The Wait function is satisfied by the host
unlocking the keyboard. Therefore, a return code of 0 does not necessarily
mean that the transaction has been completed. To verify completion
of the transaction, you should use the Search Field (30)
function or Search Presentation Space (6) function
combined with the Wait function to look for
expected keyword prompts.