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

#### VNCBK

Prolog

Control Block Contents
VNCBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### VNCBK Prolog

     NAME       : HCPVNCBK
     DESCRIPTION: Virtual Network Command parameters
     DSECT      : VNCBK
     FUNCTION   :
                  Define a structure to represent a work area used
                  for processing a QUERY LAN or QUERY VSWITCH command.
                  A new VNCBK is allocated for each command.
     LOCATED BY -
       Local pointer for the duration of command processing
     CREATED BY -
       CP QUERY LAN command processing (module HCPVLQ)
       CP QUERY VSWITCH command processing (module HCPSWQ)
       CP QUERY CONTROLLER command processing (module HCPSWQ)
     DESTROYED BY -
       CP QUERY LAN command processing (module HCPVLQ)
       CP QUERY VSWITCH command processing (module HCPSWQ)
       CP QUERY CONTROLLER command processing (module HCPSWQ)
     REFERENCED CONTROL BLOCKS -
       HCPLANBK COPY - Virtual Network (LAN) definition

#### VNCBK Control Block Content

#### VNCBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      VNCBK          Virtual Network Command
                                            parameters
    0000    0 Bitstring    1 VNCLEVEL       LAN Level (see LANLEVEL)
    0001    1 Bitstring    1 VNCOPT         Command processing options
              1... ....      VNCXALL        X'80' - Found keyword 'ALL'
              .1.. ....      VNCXLAN        X'40' - Use VNCNAME
                                            <lanname>
              ..1. ....      VNCXANY        X'20' - Found keyword 'ANYOWNER'
              ...1 ....      VNCXOWN        X'10' - Use VNCUSER
                                            <ownerid>
              .... 1...      VNCXANT        X'08' - Found keyword 'ANYTYPE'
              .... .1..      VNCXTYPE       X'04' - Use VNCTYPE
                                            <lantype>
              .... ..1.      VNCXUSR        X'02' - Use VNCUSER
                                            <controller>
    0002    2 Bitstring    1 VNCOPT1        Command processing options
              1... ....      VNCXDET        X'80' - Found keyword 'DETails'
              .1.. ....      VNCXACT        X'40' - Found keyword 'ACTive'
              ..1. ....      VNCXACC        X'20' - Found keyword
                                            'ACCesslist'
              ...1 ....      VNCXCONN       X'10' - Report every connection
              .... 1...      VNCXCTRS       X'08' - Report counters (VSWITCH)
              .... .1..      VNCXPRO        X'04' - Found keywork
                                            'PROmiscuous'
    0003    3 Bitstring    1 VNCOPT2        Command processing options
              1... ....      VNCXVLAN       X'80' - Found keyword 'VLAN'
              .1.. ....      VNCXVLAN_ANY   X'40' - Found keyword 'VLAN ANY'
              ..1. ....      VNCXVLAN_NONE  X'20' - Found keyword 'VLAN NONE'
    0004    4 Bitstring   16 VNCLANID (0)   LAN ID (ownerid||lanname)
    0004    4 Bitstring    8 VNCUSER        Owner (userid)
    000C   12 Bitstring    8 VNCNAME        Name
    0014   20 Signed       2 VNCVLAN        VLAN id
    0016   22 Bitstring    1 VNCTYPE        LAN TYPE value (use LANTYPE)
    0017   23 Bitstring    1 VNCMPAQD       Options for HCPMPAQD
              1... ....      VNCQDDET       X'80' - DETAILS requested
              .1.. ....      VNCQDVID       X'40' - Restrict to matching VLAN
                                            ID
    0018   24 Bitstring    1 VNCNOTES       Notes (during processing)
              1... ....      VNCACTVL       X'80' Indicate VLAN ID found
    0019   25 Bitstring    5 *              Reserved for alignment
              0000001E       VNC$END        * End of VNCBK
              0000001E       VNCBKLN        *-VNCBK Size of VNCBK in bytes
              00000004       VNCBKSZ        (*-VNCBK+7)/8 Size of VNCBK in
                                            doublewords
         ** End of Definitions

#### VNCBK Storage Layout

    *** VNCBK - Virtual Network Command parameters
    *
    *     +------+------+------+------+---------------------------+
    *   0 |:LEVEL|VNCOPT|:OPT1 |:OPT2 |         VNCUSER-          |
    *     +------+------+------+------+---------------------------+
    *   8 |          -(004)           |         VNCNAME-          |
    *     +---------------------------+-------------+------+------+
    *  10 |          -(00C)           |  VNCVLAN    |:TYPE |:MPAQD|
    *     +------+--------------------+-------------+------+------+
    *  18 |:NOTES|//////////////////////////////////| 1E
    *     +------+----------------------------------+
    *
    *** VNCBK - Virtual Network Command parameters

#### VNCBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    VNC$END        0019 0000001E
    VNCACTVL       0018 80
    VNCBKLN        0019 0000001E
    VNCBKSZ        0019 00000004
    VNCLANID       0004
    VNCLEVEL       0000
    VNCMPAQD       0017
    VNCNAME        000C
    VNCNOTES       0018
    VNCOPT         0001
    VNCOPT1        0002
    VNCOPT2        0003
    VNCQDDET       0017 80
    VNCQDVID       0017 40
    VNCTYPE        0016
    VNCUSER        0004
    VNCVLAN        0014
    VNCXACC        0002 20
    VNCXACT        0002 40
    VNCXALL        0001 80
    VNCXANT        0001 08
    VNCXANY        0001 20
    VNCXCONN       0002 10
    VNCXCTRS       0002 08
    VNCXDET        0002 80
    VNCXLAN        0001 40
    VNCXOWN        0001 10
    VNCXPRO        0002 04
    VNCXTYPE       0001 04
    VNCXUSR        0001 02
    VNCXVLAN       0003 80
    VNCXVLAN_ANY   0003 40
    VNCXVLAN_NONE  0003 20

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 17:39:10 EDT.
Copyright IBM Corporation, 1990, 2005