Use sysLib.wait() when two asynchronously running programs need to communicate through a record in a shared file or database. For example, you can use the function to suspend processing on one program until another program updates the information in the shared record.
sysLib.wait(time BIN(9,2) in)
The following example creates a 15-second pause.
sysLib.wait(15); // waits for 15 seconds
| Platform | Issue |
|---|---|
| IMS/VS | sysLib.wait() is ignored |
| JavaScript generation | sysLib.wait() is ignored |