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.

LOGOFF<br />

►►<br />

LOGoff<br />

LOGout<br />

Authorization<br />

Purpose<br />

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

Usage Notes<br />

HOld<br />

Privilege Class: Any<br />

Use LOGOFF or LOGOUT to end a virtual machine session.<br />

LOGOFF<br />

HOld<br />

causes the non-SNA TTY terminal telecommunication connection to remain in<br />

effect after your session is disconnected. If you specify the HOLD option from a<br />

logical device, you log off from the logical device without losing the connection<br />

between the logical device <strong>and</strong> the system.<br />

1. When the LOGOFF comm<strong>and</strong> is entered from the virtual machine console as<br />

the first or only comm<strong>and</strong> on a <strong>CP</strong> comm<strong>and</strong> line (that is, while TERMINAL<br />

MODE is <strong>CP</strong>, or <strong>CP</strong> READ is displayed or the comm<strong>and</strong> line begins with #<strong>CP</strong>),<br />

z/<strong>VM</strong> attempts to break out of certain wait conditions that might exist. Thus the<br />

LOGOFF comm<strong>and</strong> may be entered to cause breakout of certain virtual<br />

machine wait conditions.<br />

The breakout attempt occurs when the LOGOFF comm<strong>and</strong> is entered, not when<br />

the comm<strong>and</strong> is processed. Comm<strong>and</strong> errors do not prevent the breakout<br />

attempt. In some cases, a breakout resets the virtual machine.<br />

2. When you log off, all active spool files are closed, all virtual devices (including<br />

temporary minidisks <strong>and</strong> virtual disks in storage) are detached (virtual disks in<br />

storage are also destroyed if you are the last user), dedicated devices are<br />

detached, all Concurrent Copy (CONCOPY) sessions on your virtual machine<br />

are terminated, <strong>and</strong> an accounting record is created for your session.<br />

3. The LOGOFF comm<strong>and</strong> performs a system-reset-clear function on your virtual<br />

machine as if the SYSTEM CLEAR comm<strong>and</strong> had been processed. The effects<br />

of this system-reset-clear function are described in detail in the description for<br />

the SYSTEM CLEAR comm<strong>and</strong>.<br />

4. Always log off your display in addition to turning off the power; turning off your<br />

display is not the same as logging off.<br />

If you turn off the power at your display without logging off, your virtual machine<br />

is logged off at some installation–defined grace period (usually 15 minutes) after<br />

the host system determines that your display has been turned off. If you again<br />

turn on the display, your virtual machine is disconnected. You can reconnect the<br />

display to your virtual machine by logging on within the grace period; if you do<br />

not log on within the interval, your virtual machine is automatically logged off.<br />

5. If you specify the HOLD option on an SNA/CCS terminal, the comm<strong>and</strong> is not<br />

valid, <strong>and</strong> an error message is issued. If you specify the HOLD option on a<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 575

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

Saved successfully!

Ooh no, something went wrong!