The DELAY statement suspends the execution of the next statement in the application program for the specified period of time.
|
The maximum wait time is 23 hours and 59 minutes.
For example:
When a program is running under CICS, the DELAY statement is implemented by using the EXEC CICS DELAY command. Currently the time interval for the EXEC CICS DELAY command has a minimum of one second. The milliseconds number specified in the PL/I DELAY statement is rounded down to the nearest second except when the value is less than 1 second, in which case it is set to 1.
For example: