LOGOFF

CMS Commands

logoff.helpcmd.txt
LOGOFF                                                 CP Privilege Class:  Any

Use the LOGOFF command to terminate a virtual machine session and disconnect
your virtual machine from the VM/370 system.  The format of the LOGOFF command
is:
+----------+------------------------------------------------------------------+
| LOGoff   | [HOld]                                                           |
| LOGout   |                                                                  |
+----------+------------------------------------------------------------------+
where:

HOld     retains the connection for a switched communication line to enable you
         to log on without redialing the VM/370 system.


Usage notes:

1.  This command causes all active spool files to be closed, temporary disks to
    be relinquished, dedicated devices to be detached, and an accounting record
    to be created for the user.

2.  You should always log off of your terminal in addition to turning power off
    on the terminal.  Terminal power off is not synonymous with logoff.

    If you turn power off at the terminal instead of logging off, logoff occurs
    by one of the following methods:
    o   Typewriter Terminal and Remote 3270 Display Terminal -- Logoff takes
        place after a 15-minute interval has elapsed.  This occurs if no
        attempt is made to turn terminal power on and re-establish
        communications with the still logged-on virtual machine during this
        15-minute period.

    o   Local 3270 Display Terminal -- Logoff only takes place 15 minutes after
        VM/370 discovers that the terminal has been turned off and then only if
        a read is outstanding (that is, VM/370 attempts to send a message to
        the terminal, but gets back an error code indicating that the terminal
        is turned off).  Many hours may pass before VM/370 discovers that the
        terminal is turned off.

3.  If an I/O device (such as a disk or tape drive) drops ready while it is
    processing virtual I/O activity, any virtual machine users performing I/O
    on that device are unable to continue processing or to log off.  The LOGOFF
    command is not effective, in this case, because it does not complete until
    all waiting I/O is finished.  The system operator should determine which
    I/O device is involved and make the device ready once more to allow the
    user to log off.

Responses:

CONNECT= hh:mm:ss VIRTCPU= mmm:ss.hs TOTCPU= mmm:ss.hs
   where:

   CONNECT= hh:mm:ss
      is the actual clock time spent in the current terminal session in
      hours:minutes: seconds.

   VIRTCPU= mmm:ss.hs
      the virtual CPU time used in the current terminal session in
      minutes:seconds.hundredths of seconds.

   TOTCPU= mmm:ss.hs
      the total CPU time (including virtual and overhead) used in the current
      terminal session in minutes: seconds.hundredths of seconds.

   These times are either the elapsed time for the entire terminal  session or
   the elapsed time since the ACNT command was entered for this user.

LOGOFF AT hh:mm:ss zone weekday mm/dd/yy
   is the response for a logoff.

GRAF raddr ¦ LINE raddr ¦ DEV rid  LOGOFF AS userid USERS = nnn
   is the normal response to the primary system operator.  DEV rid specifies
   the resource identification of a 3704/3705 line.

GRAF raddr ¦ LINE raddr ¦ DEV rid  LOGOFF AS userid USERS = nnn FORCED
   is the response to the primary system operator if the logoff is forced by a
   line timeout or a terminal power-off.  DEV rid specifies the resource
   identification of a 3704/3705 line.

USER DSC  LOGOFF AS userid  USERS = nnn
   is the response to the primary system operator when logoff occurs for a user
   who had previously disconnected using the DISCONN command.