27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SLEEP<br />

SLEEP<br />

►►<br />

SLEEP<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

nn<br />

Usage Notes<br />

MIN<br />

SEC<br />

HRs<br />

ATTN<br />

Privilege Class: Any<br />

1442 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Use SLEEP to stop your virtual machine for a specified period of time. When the<br />

specified period elapses, your virtual machine automatically resumes processing.<br />

nn SEC<br />

nn MIN<br />

nn HRs<br />

identifies the number of seconds, minutes, or hours, measured by the<br />

time-of-day clock, that your virtual machine is to remain stopped. The value nn<br />

can be any decimal number from 00 through 99. If you specify no time unit, <strong>CP</strong><br />

assumes that nn indicates minutes.<br />

ATTN<br />

specifies that if the SLEEP comm<strong>and</strong> with a time interval is issued through a<br />

DIAGNOSE X'08' instruction, the return code indicates whether the virtual<br />

machine restarted because the time interval expired (RC=0), or because an<br />

attention was signaled (RC=1457).<br />

1. During the dormant period, the virtual machine does not run, but connection<br />

time is still counted.<br />

2. Messages continue to be displayed even though your virtual machine is in the<br />

dormant state.<br />

3. You can start your virtual machine at any time by pressing the ENTER key. If<br />

you specify a sleep interval in the comm<strong>and</strong> line, your virtual machine awakens<br />

automatically when the specified interval has elapsed.<br />

4. If you do not specify an interval, your virtual machine remains dormant until you<br />

press the ENTER key.<br />

5. If you enter the SLEEP comm<strong>and</strong> from a <strong>CP</strong> environment, you will return to the<br />

<strong>CP</strong> environment when the time interval has elapsed, or when you press the<br />

ENTER key.<br />

6. If you enter the SLEEP comm<strong>and</strong> while in virtual machine environment, the end<br />

of the time interval or pressing ENTER returns your display to virtual machine<br />

mode without entering the <strong>CP</strong> environment.<br />

7. The SLEEP comm<strong>and</strong>, with the time interval, is a convenient way to delay or<br />

schedule the execution of certain jobs that could be run more efficiently at a<br />

later time (for example, second shift).<br />

►◄

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!