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
     COPYRIGHT -
                  THIS MODULE IS "RESTRICTED MATERIALS OF IBM"
                  5654-030 (C) COPYRIGHT IBM CORP. - 1994, 1995
                  LICENSED MATERIALS - PROPERTY OF IBM
                  SEE COPYRIGHT INSTRUCTIONS, G120-2083
     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' The *IDENT IUCV path is
                                            complete
              .1.. ....      LUNSYSGT       X'40' This is the system gateway
              ..1. ....      LUNPRIV        X'20' This is a private LU
              ...1 ....      LUNDED         X'10' Dedicated to LUNUSER
              .... 1...      LUNCMR         X'08' Authorizes LUNUSER as CMR
              .... .1..      LUNACTIP       X'04' Activate in progress
              .... ..1.      LUNGONE        X'02' The LUNBK is removed from
                                            list
              .... ...1      LUNESTAB       X'01' Gateway is fully
                                            established
    000D   13 Bitstring    1 LUNSECCD       Security code
              00000000       LUNNONE        0 No session level security
              00000001       LUNOPT         1 Session level security is
                                            optional
              00000002       LUNBASIC       2 Basic level of session level
                                            security is performed for this
                                            gateway
              00000003       LUNENHAN       3 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 V4R3.0. Last updated on 30 Apr 2002 at 16:52:43 EDT.
Copyright IBM Corporation, 1990, 2002