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

#### LUNBK

Prolog

Control Block Contents
LUNBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### LUNBK Prolog

     NAME       : HCPLUNBK
     DESCRIPTION: LU Name COntrol Block
     DSECT      : LUNBK
     FUNCTION   : Control block used to represent a CP Communications
                  gateway (LU).
     LOCATED BY : HCPBUUUT points to the first available LUNBK
     CREATED BY : HCPSGA when a new gateway is activated.
                  HCPAAU when identifying the system gateway.
     DELETED BY : HCPSGA when a new gateway is deactivated.
                  HCPAAU when a gateway is revoked.
     SERIALIZED :

#### LUNBK Control Block Content

#### LUNBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LUNBK          LU Name COntrol Block
    0000    0 Character    8 LUNNAME        Gateway (LU) name
    0008    8 Address      4 LUNNEXT        Next LUNBK in list
    000C   12 Bitstring    1 LUNFLAGS       Flags
              1... ....      LUNCOMP        X'80' LUNCOMP The *IDENT IUCV
                                            path is complete
              .1.. ....      LUNSYSGT       X'40' LUNSYSGT This is the system
                                            gateway
              ..1. ....      LUNPRIV        X'20' LUNPRIV This is a private
                                            LU
              ...1 ....      LUNDED         X'10' LUNDED Dedicated to LUNUSER
              .... 1...      LUNCMR         X'08' LUNCMR Authorizes LUNUSER
                                            as CMR
              .... .1..      LUNACTIP       X'04' LUNACTIP Activate in
                                            progress
              .... ..1.      LUNGONE        X'02' LUNGONE The LUNBK is
                                            removed from list
              .... ...1      LUNESTAB       X'01' LUNESTAB Gateway is fully
                                            established
    000D   13 Bitstring    1 LUNSECCD       Security code
              00000000       LUNNONE        0 LUNNONE No session level
                                            security
              00000001       LUNOPT         1 LUNOPT Session level security
                                            is optional
              00000002       LUNBASIC       2 LUNBASIC Basic level of session
                                            level security is performed for
                                            this gateway
              00000003       LUNENHAN       3 LUNENHAN Enhanced level of
                                            session level security is
                                            performed for this gateway
    000E   14 Signed       2 LUNPATH        *IDENT IUCV path id
    0010   16 Character    8 LUNLUGAT       Gateway portion of LU (1st 8
                                            bytes)
    0018   24 Character    8 LUNUSER        Userid for dedicated gateway
    0020   32 Character    8 LUNNETID       Default network ID for gateway
    0028   40 Address      4 LUNENTCC       Connect Complete interrupt exit
    002C   44 Address      4 LUNENTSV       Sever interrupt exit
    0030   48 Address      4 LUNENTSD       Send Data routine
    0034   52 Signed       4 *              Reserved
    0038   56 Signed       4 LUNSAVBK       SAVBK of suspended ACT LU process
    003C   60 Signed       4 *              Reserved
              00000008       LUNSIZE        (*-LUNBK+7)/8 Size, in
                                            doublewords, of LUNBK

#### LUNBK Storage Layout

    *** LUNBK - LU Name COntrol Block
    *
    *     +-------------------------------------------------------+
    *   0 |                       LUNNAME                         |
    *     +---------------------------+------+------+-------------+
    *   8 |         LUNNEXT           |:FLAGS|:SECCD|  LUNPATH    |
    *     +---------------------------+------+------+-------------+
    *  10 |                       LUNLUGAT                        |
    *     +-------------------------------------------------------+
    *  18 |                       LUNUSER                         |
    *     +-------------------------------------------------------+
    *  20 |                       LUNNETID                        |
    *     +---------------------------+---------------------------+
    *  28 |         LUNENTCC          |         LUNENTSV          |
    *     +---------------------------+---------------------------+
    *  30 |         LUNENTSD          |///////////////////////////|
    *     +---------------------------+---------------------------+
    *  38 |         LUNSAVBK          |///////////////////////////|
    *     +---------------------------+---------------------------+
    *  40
    *
    *** LUNBK - LU Name COntrol Block

#### LUNBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    LUNACTIP       000C 04
    LUNBASIC       000D 00000002
    LUNCMR         000C 08
    LUNCOMP        000C 80
    LUNDED         000C 10
    LUNENHAN       000D 00000003
    LUNENTCC       0028
    LUNENTSD       0030
    LUNENTSV       002C
    LUNESTAB       000C 01
    LUNFLAGS       000C
    LUNGONE        000C 02
    LUNLUGAT       0010
    LUNNAME        0000
    LUNNETID       0020
    LUNNEXT        0008
    LUNNONE        000D 00000000
    LUNOPT         000D 00000001
    LUNPATH        000E
    LUNPRIV        000C 20
    LUNSAVBK       0038
    LUNSECCD       000D
    LUNSIZE        003C 00000008
    LUNSYSGT       000C 40
    LUNUSER        0018

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