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

#### LQWBK

Prolog

Control Block Contents
LQWBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### LQWBK Prolog

     NAME       : HCPLQWBK
     DESCRIPTION: LOCATE CMDBK and QUERY CPCMDS Work area
     DSECT      : LQWBK
     FUNCTION   : Work area for modules which handle LOCATE CMDBK
                  and QUERY CPCMDS
     LOCATED BY : None
     CREATED BY : HCPLCM
     DELETED BY : HCPLCM
     NOTES      : none.

#### LQWBK Control Block Content

#### LQWBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LQWBK          LOCATE CMDBK and QUERY CPCMDS
                                            Work area
          The length of the LQWLC field for BLOCKMAP is 12
    0000    0 Character   12 LQWLC          Command name
          The length of the LQWCLASS field for BLOCKMAP is 4
    000C   12 Bitstring    4 LQWCLASS       User privilege class
    0010   16 Bitstring    1 LQWFL          Flags
              1... ....      LQWFLQUY       X'80' flag for QUERY format
              .1.. ....      LQWFLS         X'40' flag for command SET
              ...1 ....      LQWFLQ         X'10' flag for command QUERY
              .... 1...      LQWFLQV        X'08' flag for command Q V
              .... .1..      LQWFLSUB       X'04' subcommand given
              .... ..1.      LQWFLIBM       X'02' flag for IBMCLASS
              .... ...1      LQWFLCLS       X'01' flag for user PRIV
    0011   17 Bitstring    1 LQWFL2         Local flags
              .1.. ....      LQWF2PTN       X'40' Pattern for search arg The
                                            length of the LQWIBMCL field for
                                            BLOCKMAP is 1
    0012   18 Bitstring    1 LQWIBMCL       IBM privilege class
    0013   19 Bitstring    1 *              Reserved
    0014   20 Signed       4 LQWMSLST (5)   Repository msg/format list
              00000014       LQWMSLEN       *-LQWMSLST Length of message list
    0028   40 Signed       4 LQWMSHDR       Msg number for response hdr
    002C   44 Signed       4 LQWMSDAT       Msg number for data portion of
                                            the response
    0030   48 Signed       4 LQWAHDR        Address of cmd name header
    0034   52 Signed       2 LQWHLEN        Length of header portion of the
                                            command name's header (e.g.
                                            l'QUERY VIRTUAL if command is
                                            QUERY VIRTUAL D
    0036   54 Bitstring    1 * (2)          Reserved
    0038   56 Address      4 LQWGSD1        Address of 1st GSDBK queued
    003C   60 Address      4 LQWGSDBK       Address of last GSDBK queued
    0040   64 Character   32 LQWC32         32 chars for HCPCVUBC
    0060   96 Character    1 LQWRESP (0)    Response area
          The length of the LQWCMD field for BLOCKMAP is 12
    0060   96 Character   12 LQWCMD         (sub)command name
    006C  108 Bitstring    1 *              Reserved for text separator
    006D  109 Character    8 LQWCMDBK       CMDBK address
    0075  117 Bitstring    1 *              Reserved for text separator
    0076  118 Character    8 LQWALIAP       Address of alias CMDBK
    007E  126 Bitstring    1 *              Reserved for text separator
    007F  127 Character    1 LQWRIBMC       IBM class for response
    0080  128 Bitstring    1 *              Reserved for text separator
    0081  129 Character   32 LQWRCLAS       User priv class for response
    00A1  161 Bitstring    1 *              Reserved for text separator
          The length of the LQWEPNAM field for BLOCKMAP is 8
    00A2  162 Character    8 LQWEPNAM       Entry Point Name
    00AA  170 Bitstring    1 *              Reserved for text separator
          The length of the LQWACMD field for BLOCKMAP is 38
    00AB  171 Character   38 LQWACMD        Full alias command
    00D1  209 Bitstring    1 *              Reserved for text separator
          The length of the LQWFCMD field for BLOCKMAP is 36
    00D2  210 Character   38 LQWFCMD        Full command name
    00F8  248 Bitstring    1 *              Reserved for text separator
              000000F8       LQWWTRM        *-1,1,C'X' Substitution
                                            terminator
              00000099       LQWRESPL       *-LQWRESP Length of response
    00F9  249 Bitstring    1 *              Reserved
              000000FA       LQWLEN         *-LQWBK Size, in bytes, of LQWBK
              00000020       LQWSIZE        (*-LQWBK+7)/8 Size, in
                                            doublewords, of LQWBK
    0014   20 Signed       4 LQWMSL1        msg/format 1
    0018   24 Signed       4 LQWMSL2        msg/format 2
    001C   28 Signed       4 LQWMSL3        msg/format 3
    0020   32 Signed       4 LQWMSL4        msg/format 4
    0024   36 Signed       4 LQWMSL0        end of list, must be zero

#### LQWBK Storage Layout

    *** LQWBK - LOCATE CMDBK and QUERY CPCMDS Work area
    *
    *     +-------------------------------------------------------+
    *   0 |                        LQWLC                          |
    *     |                           +---------------------------+
    *   8 |                           |         LQWCLASS          |
    *     +------+------+------+------+---------------------------+
    *  10 |LQWFL |LQWFL2|:IBMCL|//////|                           |
    *     +------+------+------+------+                           |
    *     |                       LQWMSLST                        |
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  28 |         LQWMSHDR          |         LQWMSDAT          |
    *     +---------------------------+-------------+-------------+
    *  30 |         LQWAHDR           |  LQWHLEN    |/////////////|
    *     +---------------------------+-------------+-------------+
    *  38 |         LQWGSD1           |         LQWGSDBK          |
    *     +---------------------------+---------------------------+
    *  40 |                                                       |
    *     =                        LQWC32                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  60 |                        LQWCMD                         |
    *     |                           +------+--------------------+
    *  68 |                           |//////|      (06D)-        |
    *     +---------------------------+------+------+-------------+
    *  70 |            -LQWCMDBK             |//////|   (076)-    |
    *     +----------------------------------+------+------+------+
    *  78 |               -LQWALIAP                 |//////|:RIBMC|
    *     +------+----------------------------------+------+------+
    *  80 |//////|                                                |
    *     +------+                                                |
    *  88 |                                                       |
    *     =                       LQWRCLAS                        =
    *     |      +------+-----------------------------------------+
    *  A0 |      |//////|               LQWEPNAM-                 |
    *     +------+------+------+----------------------------------+
    *  A8 |   -(0A2)    |//////|                                  |
    *     +-------------+------+                                  |
    *  B0 |                                                       |
    *     =                       LQWACMD                         =
    *     |      +------+-----------------------------------------+
    *  D0 |      |//////|                                         |
    *     +------+------+                                         |
    *  D8 |                                                       |
    *     =                       LQWFCMD                         =
    *     |                                                       |
    *     +------+------+-----------------------------------------+
    *  F8 |//////|//////| FA
    *     +------+------+
    *
    *** LQWBK - LOCATE CMDBK and QUERY CPCMDS Work area

    *** Overlay for LQWMSLST in LQWBK
    *
    *                                 +---------------------------+
    *  10 ...                      14 |         LQWMSL1           |
    *     +---------------------------+---------------------------+
    *  18 |         LQWMSL2           |         LQWMSL3           |
    *     +---------------------------+---------------------------+
    *  20 |         LQWMSL4           |         LQWMSL0           |
    *     +---------------------------+---------------------------+
    *  28
    *
    *** Overlay for LQWMSLST in LQWBK

#### LQWBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    LQWACMD        00AB
    LQWAHDR        0030
    LQWALIAP       0076
    LQWCLASS       000C
    LQWCMD         0060
    LQWCMDBK       006D
    LQWC32         0040
    LQWEPNAM       00A2
    LQWFCMD        00D2
    LQWFL          0010
    LQWFLCLS       0010 01
    LQWFLIBM       0010 02
    LQWFLQ         0010 10
    LQWFLQUY       0010 80
    LQWFLQV        0010 08
    LQWFLS         0010 40
    LQWFLSUB       0010 04
    LQWFL2         0011
    LQWF2PTN       0011 40
    LQWGSDBK       003C
    LQWGSD1        0038
    LQWHLEN        0034
    LQWIBMCL       0012
    LQWLC          0000
    LQWLEN         00F9 000000FA
    LQWMSDAT       002C
    LQWMSHDR       0028
    LQWMSLEN       0014 00000014
    LQWMSLST       0014
    LQWMSL0        0024
    LQWMSL1        0014
    LQWMSL2        0018
    LQWMSL3        001C
    LQWMSL4        0020
    LQWRCLAS       0081
    LQWRESP        0060
    LQWRESPL       00F8 00000099
    LQWRIBMC       007F
    LQWSIZE        00F9 00000020
    LQWWTRM        00F8 000000F8

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