The WAITFOR statement
directs SAS on the client to do one of the following:
-
pause for a specified time
-
pause for a specified time or until
specified characters from the server are received
-
pause until specified characters
from the server are received
Usually, a WAITFOR statement
is used after a TYPE statement sends input to the server that causes
the client to wait for the server's response to the input. For example,
in the sample scripts, a WAITFOR statement follows the TYPE statement
that invokes SAS on the server.
You can include one
or more pause specifications in a WAITFOR statement. When you include
more than one pause specification, use commas to separate the clauses.