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

#### LMMWK

Prolog

Control Block Contents
LMMWK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### LMMWK Prolog

     Name       : HCPLMMWK
     Description: "LOCATE in memory" command work area
     DSECT      : LMMWK
     Function   : The LMMWK contains information used during
                  "LOCATE in memory" command processing
     Located by : R9 while in HCPLMM, or its subroutines.
     Created by : HCPLMM
     Deleted by : HCPLMM

#### LMMWK Control Block Content

#### LMMWK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LMMWK          "LOCATE in memory" command work
                                            area
              00000000       LMMPL          *
    0000    0 Dbl-Word     8 * (0)          Alignment
    0000    0 Address      8 LMMWADLO       Low address for search. Set by
                                            parser for 'lo hi' | 'lo END'.
                                            Set by command processor if 'lo.'
                                            | 'lo-'.
    0008    8 Address      8 LMMWADHI       High address for search. Set by
                                            parser for 'lo hi'. Set by
                                            command processor if 'lo.' |
                                            'lo-'.
    0010   16 Address      8 LMMWCRNT
    0018   24 Signed       8 LMMWRUNT       Time between HCPBSBOW calls
    0020   32 Dbl-Word     8 * (0)          Alignment
    0020   32 Bitstring    1 LMMWLOHI       "lo-hi" or "lo.len" syntax
    0021   33 Character   35 LMMWSTLN       "lo-hi" or "lo.len" string where
                                            each address can be 8 characters,
                                            an underscore, and 8 more
                                            characters.
    0044   68 Bitstring    1 LMMARI00       X'00' terminator for scan
    0045   69 Bitstring    6 *              Reserved
    004B   75 Bitstring    1 LMMWLEND       "END" specified
    004C   76 Bitstring    1 LMMWLCPR       LOCATE CPREAL
    004D   77 Bitstring    1 *              Reserved
    004E   78 Bitstring    1 LMMWLVM        LOCATE VMREAL
    004F   79 Bitstring    1 LMMWLHL        LOCATE LOGICAL
    0050   80 Dbl-Word     8 * (0)          Alignment
    0050   80 Bitstring    1 LMMWLAST       LOCATE ASIT
    0051   81 Bitstring    1 LMMWLSPC       LOCATE SPACE
    0052   82 Bitstring    1 *              Reserved
    0053   83 Bitstring    1 *              Reserved
    0054   84 Bitstring    1 *              Reserved
    0055   85 Bitstring    1 *              Reserved
    0056   86 Bitstring    1 *              Reserved
    0057   87 Bitstring    1 *              Reserved
    0058   88 Dbl-Word     8 * (0)          Alignment
    0058   88 Character   16 LMMEASIT       e-ASIT
    0068  104 Dbl-Word     8 * (0)          Alignment
    0068  104 Bitstring    8 LMMIASIT       i-ASIT
    0070  112 Dbl-Word     8 * (0)          Alignment
    0070  112 Character   33 *              was SPACE name
    0091  145 Bitstring    1 *              Reserved
    0092  146 Bitstring    1 *              Reserved
    0093  147 Signed       1 *              was Length of SPACE name
    0094  148 Address      4 LMMAASIT       Address of the i-ASIT
    0098  152 Dbl-Word     8 * (0)          Alignment
    0098  152 Bitstring    8 *              Reserved
    00A0  160 Dbl-Word     8 * (0)          Alignment
    00A0  160 Bitstring    1 LMMWLINC       INCRement option given
    00A1  161 Bitstring    1 LMMWLDCR       DECRement option given
    00A2  162 Bitstring    1 *              Reserved
    00A3  163 Bitstring    1 *              Reserved
    00A4  164 Bitstring    4 *              Reserved
    00A8  168 Signed       8 LMMWINCR       INCR/DECR value
    00B0  176 Dbl-Word     8 * (0)          Alignment
    00B0  176 Bitstring    1 LMMWLCNT       COUNT n option given
    00B1  177 Bitstring    1 LMMWLCNA       COUNT ALL option given
    00B2  178 Bitstring    1 *              Reserved
    00B3  179 Bitstring    1 *              Reserved
    00B4  180 Signed       4 LMMWCOUN       COUNT value
    00B8  184 Dbl-Word     8 * (0)          Alignment
    00B8  184 Bitstring    1 LMMWLCPT       CASE option given
    00B9  185 Bitstring    1 LMMWLCAS       CASE Respect option
    00BA  186 Bitstring    1 LMMWLCUP       CASE Upper option
    00BB  187 Bitstring    1 *              Reserved
    00BC  188 Bitstring    1 LMMWLDAT       DATA option given
    00BD  189 Bitstring    1 LMMWLHEX       HEX option given
    00BE  190 Bitstring    1 LMMWLPRM       PROMPT option given
    00BF  191 Bitstring    1 LMMWLASC       ASCII option given
    00C0  192 Dbl-Word     8 * (0)          Alignment
    00C0  192 Bitstring    1 *              Reserved
    00C1  193 Bitstring    1 *              Reserved
    00C2  194 Bitstring    1 *              Reserved
    00C3  195 Bitstring    1 *              Reserved
    00C4  196 Signed       4 *              Reserved
    00C8  200 Dbl-Word     8 * (0)          Alignment
    00C8  200 Character  254 LMMWREST       Data after DATA or HEX
    01C6  454 Bitstring    1 * (2)          Reserved
              000001C8       LMMPLLEN       *-LMMPL
    01C8  456 Dbl-Word     8 * (0)          Alignment
    01C8  456 Character  254 LMMWCOMP       Data to search for (add 2 extra
                                            bytes for HCPQCNRD slop over when
                                            we are in PROMPT processing)
    02C8  712 Dbl-Word     8 * (0)          Alignment
    02C8  712 Character  254 LMMWUPPR       Area for upper case translation
    03C6  966 Bitstring    1 * (2)          Reserved
    03C8  968 Dbl-Word     8 * (0)          Alignment
    03C8  968 Character   17 LMMWRSP        Response substitution text with
                                            room for an underscore
    03D9  985 Character    1 LMMWRSPD       and delimiter
    03DA  986 Bitstring    1 LMMWFL1        Some flags
              1... ....      LMMWFTRY       X'80' Call routine to locate data
              .1.. ....      LMMWFDID       X'40' Called routine located data
              ..1. ....      LMMWFLNO       X'20' Left half belongs to a page
                                            that we are not allowed to look
                                            at.
              ...1 ....      LMMWFRNO       X'10' Right half belongs to a
                                            page that we are not allowed to
                                            look at.
    03DB  987 Signed       1 LMMWLCMP       Length of data to search for
    03DC  988 Bitstring    1 *              Reserved
    03DD  989 Bitstring    1 *              Reserved
    03DE  990 Bitstring    1 *              Reserved
    03DF  991 Bitstring    1 *              Reserved
    03E0  992 Dbl-Word     8 * (0)          Alignment
    03E0  992 Signed       4 *              Reserved
    03E4  996 Signed       4 LMMWHITS       How many matches we had
    03E8 1000 Address      8 LMMLEFTV       Verify flag for left half
    03F0 1008 Address      8 LMMLEFTR       Left half, real address
    03F8 1016 Address      8 LMMLEFTL       Left half, locked page
    0400 1024 Address      8 LMMWHLOG       Host Logical start addr
    0408 1032 Address      8 LMMRGHTV       Verify flag for right half
    0410 1040 Address      8 LMMRGHTR       Right half, real address
    0418 1048 Address      8 LMMRGHTL       Right half, locked page
    0420 1056 Address      8 *              Reserved
    0428 1064 Dbl-Word     8 * (0)          End on a d-word boundary
              00000428       LMMWORKL       *-LMMWK Length of work area

#### LMMWK Storage Layout

    *** LMMWK - "LOCATE in memory" command work area
    *
    *     +-------------------------------------------------------+
    *   0 |                       LMMWADLO                        |
    *     +-------------------------------------------------------+
    *   8 |                       LMMWADHI                        |
    *     +-------------------------------------------------------+
    *  10 |                       LMMWCRNT                        |
    *     +-------------------------------------------------------+
    *  18 |                       LMMWRUNT                        |
    *     +------+------------------------------------------------+
    *  20 |:WLOHI|                                                |
    *     +------+                                                |
    *  28 |                                                       |
    *     =                       LMMWSTLN                        =
    *     |                           +------+--------------------+
    *  40 |                           |:ARI00|////////////////////|
    *     +--------------------+------+------+------+------+------+
    *  48 |////////////////////|:WLEND|:WLCPR|//////|:WLVM |:WLHL |
    *     +------+------+------+------+------+------+------+------+
    *  50 |:WLAST|:WLSPC|//////|//////|//////|//////|//////|//////|
    *     +------+------+------+------+------+------+------+------+
    *  58 |                       LMMEASIT                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  68 |                       LMMIASIT                        |
    *     +-------------------------------------------------------+
    *  70 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |//////+------+------+------+---------------------------+
    *  90 |//////|//////|//////|//////|         LMMAASIT          |
    *     +------+------+------+------+---------------------------+
    *  98 |///////////////////////////////////////////////////////|
    *     +------+------+------+------+---------------------------+
    *  A0 |:WLINC|:WLDCR|//////|//////|///////////////////////////|
    *     +------+------+------+------+---------------------------+
    *  A8 |                       LMMWINCR                        |
    *     +------+------+------+------+---------------------------+
    *  B0 |:WLCNT|:WLCNA|//////|//////|         LMMWCOUN          |
    *     +------+------+------+------+------+------+------+------+
    *  B8 |:WLCPT|:WLCAS|:WLCUP|//////|:WLDAT|:WLHEX|:WLPRM|:WLASC|
    *     +------+------+------+------+------+------+------+------+
    *  C0 |//////|//////|//////|//////|///////////////////////////|
    *     +------+------+------+------+---------------------------+
    *  C8 |                                                       |
    *     =                       LMMWREST                        =
    *     |                                         +-------------+
    * 1C0 |                                         |/////////////|
    *     +-----------------------------------------+-------------+
    * 1C8 |                                                       |
    *     =                       LMMWCOMP                        =
    *     |                                         +-------------+
    * 2C0 |                                         |/////////////|
    *     +-----------------------------------------+-------------+
    * 2C8 |                                                       |
    *     =                       LMMWUPPR                        =
    *     |                                         +-------------+
    * 3C0 |                                         |/////////////|
    *     +-----------------------------------------+-------------+
    * 3C8 |                                                       |
    *     =                       LMMWRSP                         =
    *     |      +------+------+------+------+------+------+------+
    * 3D8 |      |:WRSPD|:WFL1 |:WLCMP|//////|//////|//////|//////|
    *     +------+------+------+------+------+------+------+------+
    * 3E0 |///////////////////////////|         LMMWHITS          |
    *     +---------------------------+---------------------------+
    * 3E8 |                       LMMLEFTV                        |
    *     +-------------------------------------------------------+
    * 3F0 |                       LMMLEFTR                        |
    *     +-------------------------------------------------------+
    * 3F8 |                       LMMLEFTL                        |
    *     +-------------------------------------------------------+
    * 400 |                       LMMWHLOG                        |
    *     +-------------------------------------------------------+
    * 408 |                       LMMRGHTV                        |
    *     +-------------------------------------------------------+
    * 410 |                       LMMRGHTR                        |
    *     +-------------------------------------------------------+
    * 418 |                       LMMRGHTL                        |
    *     +-------------------------------------------------------+
    * 420 |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    * 428
    *
    *** LMMWK - "LOCATE in memory" command work area

#### LMMWK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    LMMAASIT       0094
    LMMARI00       0044
    LMMEASIT       0058
    LMMIASIT       0068
    LMMLEFTL       03F8
    LMMLEFTR       03F0
    LMMLEFTV       03E8
    LMMPL          0000 00000000
    LMMPLLEN       01C6 000001C8
    LMMRGHTL       0418
    LMMRGHTR       0410
    LMMRGHTV       0408
    LMMWADHI       0008
    LMMWADLO       0000
    LMMWCOMP       01C8
    LMMWCOUN       00B4
    LMMWCRNT       0010
    LMMWFDID       03DA 40
    LMMWFLNO       03DA 20
    LMMWFL1        03DA
    LMMWFRNO       03DA 10
    LMMWFTRY       03DA 80
    LMMWHITS       03E4
    LMMWHLOG       0400
    LMMWINCR       00A8
    LMMWLASC       00BF
    LMMWLAST       0050
    LMMWLCAS       00B9
    LMMWLCMP       03DB
    LMMWLCNA       00B1
    LMMWLCNT       00B0
    LMMWLCPR       004C
    LMMWLCPT       00B8
    LMMWLCUP       00BA
    LMMWLDAT       00BC
    LMMWLDCR       00A1
    LMMWLEND       004B
    LMMWLHEX       00BD
    LMMWLHL        004F
    LMMWLINC       00A0
    LMMWLOHI       0020
    LMMWLPRM       00BE
    LMMWLSPC       0051
    LMMWLVM        004E
    LMMWORKL       0428 00000428
    LMMWREST       00C8
    LMMWRSP        03C8
    LMMWRSPD       03D9
    LMMWRUNT       0018
    LMMWSTLN       0021
    LMMWUPPR       02C8

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