NET/MASTER Network Control Language (NCL) Reference Manual

DELAY
Verbs
106126 Tandem Computers Incorporated 3–47
DELAY The DELAY verb suspends an NCL process for a specified period of time. You can use
the DELAY verb to pause an NCL process, and thus allow time for another, usually
external, event to complete.
You can restart an NCL process that has suspended processing because of a DELAY
verb by issuing the NonStop NET/MASTER MS GO command, or you can terminate
the NCL process by issuing a NonStop NET/MASTER MS FLUSH command.
DELAY
n
[.
th
]
n
specifies the delay time for which processing is to be suspended. This number
must be in seconds, not exceeding 10800 (three hours).
th
specifies the number of hundredths of seconds for which processing is to be
suspended. This number must be in the range .001 through .999.
Considerations
You can use the WAIT operand of the INTREAD verb as an alternative to the
DELAY verb in NCL processes that process messages. This limits the time an NCL
process waits for a message to be delivered.
See also the INTREAD and PAUSE verbs in this section. INTREAD also has a
WAIT operand that acts similarly to DELAY.
Examples
The following example delays processing for 15 seconds:
DELAY 15
The following example delays processing for 12.34 seconds:
DELAY 12.34