Wait: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The '''WAIT=''' parameter and TIMEOUT error trap can be used with INPUT/RINPUT statements to force releasing of records. This feature is useful for multi-user situations. *WAI...") |
No edit summary |
||
Line 3: | Line 3: | ||
*NOTE that WAIT=0 instructs the system to wait for zero seconds, not to ignore the WAIT instruction. | *NOTE that WAIT=0 instructs the system to wait for zero seconds, not to ignore the WAIT instruction. | ||
*Also, -1 is a special WAIT value that instructs the system to wait forever, if necessary. Every time the operator presses any key, the clock is reset for WAIT seconds. | *Also, -1 is a special WAIT value that instructs the system to wait forever, if necessary. Every time the operator presses any key, the clock is reset for WAIT seconds. | ||
Used in: | |||
*[[Input Fields]] | |||
*[[Rinput Fields]] | |||
*[[Open Communications]] Statements | |||
<noinclude> | <noinclude> | ||
[[Category:Definitions]] | [[Category:Definitions]] | ||
</noinclude> | </noinclude> |
Revision as of 15:38, 6 August 2013
The WAIT= parameter and TIMEOUT error trap can be used with INPUT/RINPUT statements to force releasing of records. This feature is useful for multi-user situations.
- WAIT= specifies the number of seconds the system should wait for operator input before responding with a TIMEOUT error condition.
- NOTE that WAIT=0 instructs the system to wait for zero seconds, not to ignore the WAIT instruction.
- Also, -1 is a special WAIT value that instructs the system to wait forever, if necessary. Every time the operator presses any key, the clock is reset for WAIT seconds.
Used in:
- Input Fields
- Rinput Fields
- Open Communications Statements