*SLEEP command: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(→Syntax) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
<dd>Suspends processing of input for a specified amount of time | <dd>Suspends processing of input for a specified amount of time | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">*SLEEP <i>n</i> | <p class="syntax">*SLEEP <i>n</i> | ||
</p> | </p> | ||
< | 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== | ||
This example suspends processing for eight hours: | This example suspends processing for eight hours: | ||
<p class="code">*SLEEP 28800 | <p class="code">*SLEEP 28800 | ||
</p> | </p> | ||
==Usage notes== | ==Usage notes== | ||
<p>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 z/VM single-user environments. The maximum time is 86400 seconds.</p> | <p> | ||
<p>*SLEEP is described in detail in | 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> | |||
<var>*SLEEP</var> is described in more detail in [[Controlling system operations (CCAIN)#System control commands|System control commands]].</p> | |||
[[Category: System administrator commands]] | [[Category: System administrator commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
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.