Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### LGFBK

Prolog

Control Block Contents
LGFBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### LGFBK Prolog

     NAME       : HCPLGFBK
     DESCRIPTION: LOGOFF control block
     DSECT      : LGFBK
     FUNCTION   :
     LOCATED BY : VMDLGFBK (origin VMDBK only)
     CREATED BY : HCPUSOPR
     DELETED BY : HCPUSOLC
     SERIALIZED : Master processor

#### LGFBK Control Block Content

#### LGFBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LGFBK          LOGOFF control block
          LGFTRMLK is used to serialize terminal clean-up
          processing (for LOGOFF, FORCE, DISCONNECT or LOGON HERE).
          Terminal clean-up processing is done without console
          function mode serialization. Any task performing terminal
          clean-up must hold LGFTRMLK exclusive. If a second task
          tries to get the lock it will be deferred until terminal
          clean-up is complete. For instance if one user issues
          FORCE DISCONNECT and another issues FORCE LOGOFF, when
          FORCE LOGOFF goes for the lock it will be deferred until
          FORCE DISCONNECT completes terminal clean-up.
          Notes      : If a thread of execution requires both CFM and the
                LGFTRMLK, it must obtain CFM first and the LGFTRMLK
                later.  The LGFTRMLK should be released before the
                thread relinquishes CFM.
    0000    0 Dbl-Word     8 LGFTRMLK (3)   Terminal clean-up lockword
    0018   24 Character    8 LGFLOGID       ID of user who initiated this
                                            LOGOFF
    0020   32 Character    8 LGFDSCID       ID of user who initiated this
                                            DISCONNECT
    0028   40 Signed       4 LGFSKEL        Pointer to skeleton VMDBK that
                                            issued LOGON HERE
    002C   44 Bitstring    1 LGFFLAGS       Terminal clean-up flag byte
              1... ....      LGFNOMSG       X'80' LGFNOMSG Do not send an
                                            OPERATOR style message to the
                                            FORCEr.
              ...1 ....      LGFNOUSR       X'10' LGFNOUSR No output should
                                            be attempted to this user's
                                            terminal
              .... .1..      LGFSIGNL       X'04' LGFSIGNL FORCEd as a result
                                            of SIGNAL
            Request flags and footprint area
    002D   45 Bitstring    1 LGFFPRT1       Request/footprint flags
              1... ....      LGFDSCN        X'80' LGFDSCN Disc msgs to the
                                            user and operator are needed
              .1.. ....      LGFDSCD        X'40' LGFDSCD Disc msgs to the
                                            user and operator have been done
              ..1. ....      LGFLGFUN       X'20' LGFLGFUN Logoff msgs to the
                                            user are needed
              ...1 ....      LGFLGFUD       X'10' LGFLGFUD Logoff msgs to the
                                            user have been done
              .... 1...      LGFLGFON       X'08' LGFLGFON Logoff msgs to the
                                            operator are needed
              .... .1..      LGFLGFOD       X'04' LGFLGFOD Logoff msgs to the
                                            operator have been done
              .... ..1.      LGFUSPFF       X'02' LGFUSPFF HCPUSPFF terminal
                                            processing has been completed.
    002E   46 Bitstring    1 * (2)          Reserved for future use
    0030   48 Signed       4 LGFTMOUT       Signal timeout
            Data for the logoff/disconnect messages
    0034   52 Character   10 LGFTRMID (0)
    0034   52 Character    8 LGFLUNAM       LU name logging off
    003C   60 Character    2 LGFBLNKS       Pad with blanks
    0034   52 Character    4 LGFTTYPE       Terminal type logging off
    0038   56 Character    1 LGFBLANK       One space is enough here
    0039   57 Character    5 LGFDVNUM       Device number (Lnnnn or nnnn)
    003E   62 Bitstring    1 LGFFENCE       End of substitution fence
              00000008       LGFSIZE        (*-LGFBK+7)/8 Size, in
                                            doublewords, of LGFBK

#### LGFBK Storage Layout

    *** LGFBK - LOGOFF control block
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       LGFTRMLK                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  18 |                       LGFLOGID                        |
    *     +-------------------------------------------------------+
    *  20 |                       LGFDSCID                        |
    *     +---------------------------+------+------+-------------+
    *  28 |         LGFSKEL           |:FLAGS|:FPRT1|/////////////|
    *     +---------------------------+------+------+-------------+
    *  30 |         LGFTMOUT          |        LGFLUNAM-          |
    *     +---------------------------+-------------+-------------+
    *  38 |          -(034)           |  LGFBLNKS   | 3E
    *     +---------------------------+-------------+
    *
    *** LGFBK - LOGOFF control block

    *** Overlay for LGFTRMID in LGFBK
    *
    *                                 +---------------------------+
    *  30 ...                      34 |         LGFTTYPE          |
    *     +------+--------------------+-------------+------+------+
    *  38 |:BLANK|            LGFDVNUM              |:FENCE| 3F
    *     +------+----------------------------------+------+
    *
    *** Overlay for LGFTRMID in LGFBK

#### LGFBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    LGFBLANK       0038
    LGFBLNKS       003C
    LGFDSCD        002D 40
    LGFDSCID       0020
    LGFDSCN        002D 80
    LGFDVNUM       0039
    LGFFENCE       003E
    LGFFLAGS       002C
    LGFFPRT1       002D
    LGFLGFOD       002D 04
    LGFLGFON       002D 08
    LGFLGFUD       002D 10
    LGFLGFUN       002D 20
    LGFLOGID       0018
    LGFLUNAM       0034
    LGFNOMSG       002C 80
    LGFNOUSR       002C 10
    LGFSIGNL       002C 04
    LGFSIZE        003E 00000008
    LGFSKEL        0028
    LGFTMOUT       0030
    LGFTRMID       0034
    LGFTRMLK       0000
    LGFTTYPE       0034
    LGFUSPFF       002D 02

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:46:27 EDT.
Copyright IBM Corporation, 1990, 2008