*SLEEP command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (remove Sys Man guide)
 
(One intermediate revision by the same user not shown)
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==
Line 20: Line 20:
==Usage notes==
==Usage notes==
<p>
<p>
The <var>*SLEEP</var> 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. <var>*SLEEP</var> operates in online, batch, and IBM z/VM single-user environments. The maximum time is 86400 seconds.</p>
The <var>*SLEEP</var> command suspends processing of input for a specified number of seconds. It is similar to <var>[[HALT_command|HALT]]</var>, but does not involve communication with the operator. It is often issued at the end of a run. <var>*SLEEP</var> operates in online, batch, and IBM z/VM single-user environments. The maximum time is 86400 seconds.</p>
<p>
<p>
<var>*SLEEP</var> is described in more detail in [[Controlling system operations (CCAIN)#System control commands|System control commands]].</p>
<var>*SLEEP</var> is described in more detail in [[Controlling system operations (CCAIN)#System control commands|System control commands]].</p>

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.