CP6100 I/O Process Programming Manual
CPTEST
WAIT Command
WAIT Command
Use the WAIT command to cause CPTEST to wait (either for
completion of a request or for a specified amount of time) before
issuing a new prompt. The WAIT command applies only to
outstanding requests.
The default for the WAIT command is to wait five minutes or until
request completion (whichever comes first) before issuing the
prompt.
The syntax for the WAIT command is:
-----------------------------------------------------------------
| |
| WAIT [ [for] RESP | <n> ] |
| |
| |
| RESP |
| |
| specifies that CPTEST wait for completion of any request |
| before issuing the prompt. |
| |
| |
| <n> |
| |
| specifies the number of tics (1 tic = 1/100th second) |
| CPTEST waits before continuing. The maximum wait is |
| 32767 tics. |
| |
-----------------------------------------------------------------
Considerations
1. CPTEST waits for a response, or for the specified number
of tics, or for a BREAK, or for the default of five minutes
before terminating the wait. When CPTEST terminates the wait
before a response has arrived, the request remains active
but CPTEST no longer waits upon it. When the late response
arrives, CPTEST displays it as though it were a nowaited
request.
2. If a response arrives before the specified wait elapses,
CPTEST displays the response.
3. If you want to terminate the wait before it elapses, strike
the BREAK key. The CPTEST prompt then appears.
4. Whenever a wait elapses before a response arrives, CPTEST
displays an error 40 message.
B-27