Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


Suspends processing for a specified number of milliseconds.


NAP [millisecs]


millisecs Optional — An integer count of milliseconds. If omitted, execution is suspended for 1 millisecond.


The NAP statement specifies the number of milliseconds to suspend program execution. There are one thousand milliseconds in a second. If you specify NAP with no argument, it suspends program execution for one millisecond.

The SLEEP and RQM statements can be used to suspend program execution for a specified number of seconds.

See Also