Wait
Communications Manager Core waits until the specified file is created and unlocked by other applications.
Syntax
Wait
File(<text>)
TimeOut(<number>);
Parameters
- File: Required. The file for which Communications Manager Core waits.
- TimeOut: Optional. The maximum amount of time in seconds that Communications Manager Core waits if the file does not exist or if another process is locking the file. If this parameter is not specified, Communications Manager Core waits indefinitely for the file to be created or unlocked. If the value of this parameter is 0 and File is locked, Communications Manager Core immediately reports an error.