Wait interval (-WAIT) command
The -WAIT command specifies the number of seconds that Sterling Connect:Direct® is to wait for a Sterling Connect:Direct SUBMIT process to finish. In addition, the IBM® Transformation Extender Connect:Direct listener uses the wait interval as the polling time for the Launcher.
Coordinate the use of this adapter command with any Sterling Connect:Direct retries that you configure in the Sterling Connect:Direct netmap.cfg file.
- On an output card, the IBM Transformation Extender map fails with return code 76: Adapter failed to put data on output. The Sterling Connect:Direct process attempts to complete the copy.
- On an input card, the IBM Transformation Extender map fails with return code 12: Source not available. The Sterling Connect:Direct process attempts to complete the copy.
In each case, the adapter trace file contains the message No successful copy record retrieved from C:D in WAIT time.
This command is optional.
- seconds
- The number of seconds that Sterling Connect:Direct is to wait for the SUBMIT process to finish.
- 0
- Specifies that Sterling Connect:Direct is
to wait for an infinite period of time. This is the default.
When used as a Launcher source event, the -WAIT command determines the polling interval. 0 defaults to 10 seconds.
Use this option with caution. It can cause a hang by preventing Sterling Connect:Direct from returning to IBM Transformation Extender. For example, such a hang can occur if the SNODE is not available.