WAIT - USAP configuration option
Description
The WAIT option causes Universal Connector to wait for the SAP job to complete processing.
Note
This option can cause Universal Connector to wait for different processes, depending on the command in which it is used. See the links to these commands in #Command Usage, below.
When WAIT is used, the exit code of Universal Connector indicates the completion status of the SAP job / network. (See Universal Connector for SAP Exit Codes for a complete list of job status exit codes.)
It also allows Universal Connector to return the joblog and spoollists for the job:
- RETURN_JOB_LOG controls the return of the joblog.
- RETURN_SPOOL_LIST controls the return of the spoollist.
Usage
Method |
Syntax |
IBM i |
HP NonStop |
UNIX |
Windows |
z/OS |
Command Line, Short Form |
-W |
|
|
|
| |
Command Line, Long Form |
-wait |
|
|
|
| |
Environment Variable |
n/a |
|
|
|
|
|
Configuration File Keyword |
n/a |
|
|
|
|
|
Value
(There are no values used with this option.)
Command Usage
The WAIT option is used in the following Universal Connector commands: