*SLEEP command

From m204wiki
Revision as of 12:10, 23 January 2019 by DCameron (talk | contribs) (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Privileges
System administrator or User 0
Function
Suspends processing of input for a specified amount of time

Syntax

*SLEEP n

Where n is the number of seconds for which input processing is suspended. A negative or non-numeric value of n will cause the command to be ignored.

Example

This example suspends processing for eight hours:

*SLEEP 28800

Usage notes

The *SLEEP command suspends processing of input for a specified number of seconds. It is similar to HALT, but does not involve communication with the operator. It is often issued at the end of a run. *SLEEP operates in online, batch, and IBM z/VM single-user environments. The maximum time is 86400 seconds.

*SLEEP is described in more detail in System control commands.