*SLEEP command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
Line 11: Line 11:
</p>
</p>
   
   
Where <var class="term">n</var> is the number of seconds for which input processing is suspended.
Where <var class="term">n</var> 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==
==Example==

Latest revision as of 12:10, 23 January 2019

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.