*SLEEP command

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.