MDCBK - 64-bit CP - V4R4.0
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

MDCBK

Prolog  

Control Block Contents  
   MDCBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


MDCBK Prolog

 Name       : HCPMDCBK
 Description: Storage area for SET MDC/Q MDC cmnds
 DSECT      : MDCBK
 Function   : Reponse buffer and work area for SET MDC
              and Query MDC commands
 Located by : Registers in HCPMCP, HCPMCR, HCPMCQ, HCPMCO,
              HCPMCN
 Created by : HCPMCP and HCPMCO
 Deleted by : HCPMCP and HCPMCO
 Serialized : None required

 

MDCBK Control Block Content


MDCBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      MDCBK          Storage area for SET MDC/Q MDC
                                        cmnds
0000    0 Dbl-Word     8 MDCPLIST (0)   Start of parameter list used by
                                        parser
0000    0 Signed       4 MDCWORD1 (0)   First word of parser parms
0000    0 Bitstring    1 MDCFLAG1       Flag byte 1
          1... ....      MDCON          X'80' ON was issued
          .1.. ....      MDCOFF         X'40' OFF was issued
          ..1. ....      MDCFLUSH       X'20' FLUSH was issued
          ...1 ....      MDCSYS         X'10' SYSTEM was issued
          .... 1...      MDCRDV         X'08' RDEV was issued
          .... .1..      MDCMDISK       X'04' MDISK was issued
          .... ..1.      MDC1DEV        X'02' Only 1 device was issued
          .... ...1      MDCDRCT        X'01' DRCT option was issued
0001    1 Bitstring    1 MDCFLAG2       Flag byte 2
          .1.. ....      MDCUSER        X'40' USERID was specified
          ..1. ....      MDCMNST        X'20' STORAGE was issued
          ...1 ....      MDCXST         X'10' XSTORE was issued
          .... 1...      MDCMAX         X'08' MAX was issued
          .... .1..      MDCSIZE1       X'04' At least 1 token was issued
          .... ..1.      MDCSIZE2       X'02' 2 tokens were issued
          .... ...1      MDCALL         X'01' ALL was issued
0002    2 Bitstring    1 MDCFLAG3       Flag byte 3 (cleared after each
                                        device in range has completed
                                        processing). Flag only used when
                                        for RDEV and MDISK and class G
                                        flush options.
          1... ....      MDCTCLCK       X'80' Main MDC lock held
          .1.. ....      MDCRDLCK       X'40' RDEV lock held
0003    3 Bitstring    1 MDCFLAG4       Flag byte 4
          1... ....      MDC1OK         X'80' At least one device was
                                        processed successfully
          .1.. ....      MDCNOLOG       X'40' User specified not logged
                                        on
          ..1. ....      MDCINS         X'20' INSERT option requested
          ...1 ....      MDCDET         X'10' DETAILS option requested
          .... 1...      MDCDFON        X'08' DFLTON was requested
          .... .1..      MDCDFOFF       X'04' DFLTOFF was requested
          .... ..1.      MDCERRNG       X'02' Error encountered while
                                        processing a range
          .... ...1      MDCBIAS        X'01' MDC BIAS requested
0004    4 Signed       4 MDCWORD2 (0)   Second word of parser parms
0004    4 Bitstring    1 MDCFLAG5       Flag byte 5
          1... ....      MDCRECRD       X'80' RECORDMDC specified
0005    5 Bitstring    3 *              Reserved
0008    8 Dbl-Word     8 MDCDEVS (0)    Device range specified
0008    8 Signed       4 MDCDEVL        First device
          00000004       MDCDEVSZ       *-MDCDEVL Length of 1 device
000C   12 Signed       4 MDCDEVH        2nd device (1st=2nd if only one
                                        was specified)
0010   16 Character    8 MDCNAME        Userid specified
          00000008       MDCNMSZ        *-MDCNAME Length of userid
0018   24 Character    8 MDCTOK1        First min/max token
          00000008       MDCTOKSZ       *-MDCTOK1 Length of a token
0020   32 Character    8 MDCTOK2        Second min/max token
          00000028       MDCPLEN        *-MDCBK End of parm list for
                                        parser
0028   40 Signed       2 MDCDEVC        Current device
002A   42 Signed       2 * (0)          Reserved for IBM use
     The following sequence handles message 7335-01.
002A   42 Character    9 MDCACT         Action to specify in message
0033   51 Character    1 MDCA1          Fence
     The following sequence handles messages 0045-01, 1921-02, 1921-04,
     7337-01, 7337-02, 7340-01.
0034   52 Character    1 MDCSUB (0)
0034   52 Character    8 MDCAUSR        Userid in message
003C   60 Character    1 MDCA2          fence
003D   61 Character    4 MDCADEVL       Low/only device in range
0041   65 Character    1 MDCA3          fence
0042   66 Character    4 MDCADEVH       High device in range
0046   70 Character    1 MDCA4          fence
     The following sequence handles message 7338-01.
0047   71 Character    1 MDCMAIN (0)
0047   71 Character    8 MDCMNMIN       Minimum of main storage
004F   79 Character    1 MDCS1          fence
0050   80 Character    8 MDCMNMAX       Maximum of main storage
0058   88 Character    1 MDCS2          fence
0059   89 Character    8 MDCMNUSE       Amount in use of main storage
0061   97 Character    1 MDCS3          fence
0062   98 Character    8 MDCMBIAS       BIAS for main storage
006A  106 Character    1 MDCS4          fence
     The following sequence handles messages 7339-01, 7339-02, 7339-03.
006B  107 Character    1 MDCXSTOR (0)
006B  107 Character    8 MDCXSMIN       Minimum of xstore
0073  115 Character    1 MDCS5          fence
0074  116 Character    8 MDCXSMAX       Maximum of xstore
007C  124 Character    1 MDCS6          fence
007D  125 Character    8 MDCXSUSE       Amount in use of xstore
0085  133 Character    1 MDCS7          fence
0086  134 Character    8 MDCXBIAS       BIAS for XSTORE
008E  142 Character    1 MDCS8          fence
008F  143 Character    8 MDCXSMXP       Maximum pending of xstore
0097  151 Character    1 MDCS9          fence
0098  152 Character    8 MDCXSMNP       Minimum pending of xstore
00A0  160 Character    1 MDCS10         fence
     The following sequence handles messages 1921-01, 1921-03, 7336-01,
     7336-02.
0034   52 Character    4 MDCBDEVL       Low/only device in range
0038   56 Character    1 MDCB1          fence
0039   57 Character    4 MDCBDEVH       High device in range
003D   61 Character    1 MDCB2          fence
     The following sequence handles message 7341-01.
002A   42 Character    3 MDCLPATH       MDC availability (on,off)
002D   45 Character    1 MDCL1          fence
002E   46 Character    7 MDCLMSTT       Status of minidisk
0035   53 Character    1 MDCL2          fence
0036   54 Character    8 MDCLUSER       Userid owning minidisk
003E   62 Character    1 MDCL3          fence
003F   63 Character    4 MDCLVDEV       Owning vdev number
0043   67 Character    1 MDCL4          fence
     The following sequence handles message 7342-01.
002A   42 Character    4 MDCQIDEV       Input vdev number
002E   46 Character    1 MDCQ0          fence
002F   47 Character    3 MDCQPATH       MDC availability (on,off)
0032   50 Character    1 MDCQ1          fence
0033   51 Character    7 MDCQMSTT       Status of minidisk
003A   58 Character    1 MDCQ2          fence
003B   59 Character    8 MDCQUSER       Userid owning minidisk
0043   67 Character    1 MDCQ3          fence
0044   68 Character    4 MDCQVDEV       Owning vdev number
0048   72 Character    1 MDCQ4          fence
0049   73 Character    9 MDCQRSTT       Status of rdev
0052   82 Character    1 MDCQ5          fence
0053   83 Character    4 MDCQRDEV       Rdev number
0057   87 Character    1 MDCQ6          fence
     The following sequence handles message 0003-01.
0034   52 Character    8 MDCOPT         Invalid option entered
003C   60 Character    1 MDCO1          fence
     The following sequence handles message 1921-05.
0034   52 Character    6 MDCSSYS        System
003A   58 Character    1 MDCSS1         fence
003B   59 Character    4 MDCSSYSC       Code number
003F   63 Character    1 MDCSS2         fence
          00000015       MDCSIZE        (*-MDCBK+7)/8 Size, in
                                        doublewords, of MDCBK

 

MDCBK Storage Layout

          
*** MDCBK - Storage area for SET MDC/Q MDC cmnds
*
*     +------+------+------+------+------+--------------------+
*   0 |:FLAG1|:FLAG2|:FLAG3|:FLAG4|:FLAG5|////////////////////|
*     +------+------+------+------+------+--------------------+
*   8 |         MDCDEVL           |         MDCDEVH           |
*     +---------------------------+---------------------------+
*  10 |                       MDCNAME                         |
*     +-------------------------------------------------------+
*  18 |                       MDCTOK1                         |
*     +-------------------------------------------------------+
*  20 |                       MDCTOK2                         |
*     +-------------+-----------------------------------------+
*  28 |  MDCDEVC    |                 MDCACT                  |
*     +-------------+      +------+---------------------------+
*  30 |                    |MDCA1 |         MDCAUSR-          |
*     +--------------------+------+------+--------------------+
*  38 |          -(034)           |MDCA2 |     MDCADEVL-      |
*     +------+------+-------------+------+------+------+------+
*  40 |-(03D)|MDCA3 |         MDCADEVH          |MDCA4 |(047)-|
*     +------+------+---------------------------+------+------+
*  48 |                   -MDCMNMIN                    |MDCS1 |
*     +------------------------------------------------+------+
*  50 |                       MDCMNMAX                        |
*     +------+------------------------------------------------+
*  58 |MDCS2 |                   MDCMNUSE-                    |
*     +------+------+-----------------------------------------+
*  60 |-(059)|MDCS3 |               MDCMBIAS-                 |
*     +------+------+------+----------------------------------+
*  68 |   -(062)    |MDCS4 |            MDCXSMIN-             |
*     +-------------+------+------+---------------------------+
*  70 |      -(06B)        |MDCS5 |        MDCXSMAX-          |
*     +--------------------+------+------+--------------------+
*  78 |          -(074)           |MDCS6 |      (07D)-        |
*     +---------------------------+------+------+-------------+
*  80 |            -MDCXSUSE             |MDCS7 |   (086)-    |
*     +----------------------------------+------+------+------+
*  88 |               -MDCXBIAS                 |MDCS8 |(08F)-|
*     +-----------------------------------------+------+------+
*  90 |                   -MDCXSMXP                    |MDCS9 |
*     +------------------------------------------------+------+
*  98 |                       MDCXSMNP                        |
*     +------+------------------------------------------------+
*  A0 |MDCS10| A1
*     +------+
*
*** MDCBK - Storage area for SET MDC/Q MDC cmnds
          
*** Overlay for MDCSUB in MDCBK
*
*                                 +---------------------------+
*  30 ...                      34 |         MDCBDEVL          |
*     +------+--------------------+------+------+-------------+
*  38 |MDCB1 |         MDCBDEVH          |MDCB2 | 3E
*     +------+---------------------------+------+
*
*** Overlay for MDCSUB in MDCBK
          
*** Overlay for MDCACT in MDCBK
*
*                   +--------------------+------+-------------+
*  28 ...        2A |     MDCLPATH       |MDCL1 |   (02E)-    |
*     +-------------+--------------------+------+-------------+
*  30 |            -MDCLMSTT             |MDCL2 |   (036)-    |
*     +----------------------------------+------+------+------+
*  38 |               -MDCLUSER                 |MDCL3 |(03F)-|
*     +--------------------+------+-------------+------+------+
*  40 |     -MDCLVDEV      |MDCL4 | 44
*     +--------------------+------+
*
*** Overlay for MDCACT in MDCBK
          
*** Overlay for MDCACT in MDCBK
*
*                   +---------------------------+------+------+
*  28 ...        2A |         MDCQIDEV          |MDCQ0 |(02F)-|
*     +-------------+------+--------------------+------+------+
*  30 | -MDCQPATH   |MDCQ1 |            MDCQMSTT-             |
*     +-------------+------+----------------------------------+
*  38 |   -(033)    |MDCQ2 |            MDCQUSER-             |
*     +-------------+------+------+---------------------------+
*  40 |      -(03B)        |MDCQ3 |         MDCQVDEV          |
*     +------+-------------+------+---------------------------+
*  48 |MDCQ4 |                   MDCQRSTT                     |
*     +------+      +------+---------------------------+------+
*  50 |             |MDCQ5 |         MDCQRDEV          |MDCQ6 |
*     +-------------+------+---------------------------+------+
*  58
*
*** Overlay for MDCACT in MDCBK
          
*** Overlay for MDCSUB in MDCBK
*
*                                 +---------------------------+
*     ...                      34 |         MDCOPT-           |
*     +---------------------------+------+--------------------+
*  38 |          -(034)           |MDCO1 | 3D
*     +---------------------------+------+
*
*** Overlay for MDCSUB in MDCBK
          
*** Overlay for MDCSUB in MDCBK
*
*                                 +---------------------------+
*     ...                      34 |         MDCSSYS-          |
*     +-------------+------+------+--------------------+------+
*  38 |   -(034)    |MDCSS1|         MDCSSYSC          |MDCSS2|
*     +-------------+------+---------------------------+------+
*  40
*
*** Overlay for MDCSUB in MDCBK

 

MDCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
MDCACT         002A
MDCADEVH       0042
MDCADEVL       003D
MDCALL         0001 01
MDCAUSR        0034
MDCA1          0033
MDCA2          003C
MDCA3          0041
MDCA4          0046
MDCBDEVH       0039
MDCBDEVL       0034
MDCBIAS        0003 01
MDCB1          0038
MDCB2          003D
MDCDET         0003 10
MDCDEVC        0028
MDCDEVH        000C
MDCDEVL        0008
MDCDEVS        0008
MDCDEVSZ       0008 00000004
MDCDFOFF       0003 04
MDCDFON        0003 08
MDCDRCT        0000 01
MDCERRNG       0003 02
MDCFLAG1       0000
MDCFLAG2       0001
MDCFLAG3       0002
MDCFLAG4       0003
MDCFLAG5       0004
MDCFLUSH       0000 20
MDCINS         0003 20
MDCLMSTT       002E
MDCLPATH       002A
MDCLUSER       0036
MDCLVDEV       003F
MDCL1          002D
MDCL2          0035
MDCL3          003E
MDCL4          0043
MDCMAIN        0047
MDCMAX         0001 08
MDCMBIAS       0062
MDCMDISK       0000 04
MDCMNMAX       0050
MDCMNMIN       0047
MDCMNST        0001 20
MDCMNUSE       0059
MDCNAME        0010
MDCNMSZ        0010 00000008
MDCNOLOG       0003 40
MDCOFF         0000 40
MDCON          0000 80
MDCOPT         0034
MDCO1          003C
MDCPLEN        0020 00000028
MDCPLIST       0000
MDCQIDEV       002A
MDCQMSTT       0033
MDCQPATH       002F
MDCQRDEV       0053
MDCQRSTT       0049
MDCQUSER       003B
MDCQVDEV       0044
MDCQ0          002E
MDCQ1          0032
MDCQ2          003A
MDCQ3          0043
MDCQ4          0048
MDCQ5          0052
MDCQ6          0057
MDCRDLCK       0002 40
MDCRDV         0000 08
MDCRECRD       0004 80
MDCSIZE        003F 00000015
MDCSIZE1       0001 04
MDCSIZE2       0001 02
MDCSSYS        0034
MDCSSYSC       003B
MDCSS1         003A
MDCSS2         003F
MDCSUB         0034
MDCSYS         0000 10
MDCS1          004F
MDCS10         00A0
MDCS2          0058
MDCS3          0061
MDCS4          006A
MDCS5          0073
MDCS6          007C
MDCS7          0085
MDCS8          008E
MDCS9          0097
MDCTCLCK       0002 80
MDCTOKSZ       0018 00000008
MDCTOK1        0018
MDCTOK2        0020
MDCUSER        0001 40
MDCWORD1       0000
MDCWORD2       0004
MDCXBIAS       0086
MDCXSMAX       0074
MDCXSMIN       006B
MDCXSMNP       0098
MDCXSMXP       008F
MDCXST         0001 10
MDCXSTOR       006B
MDCXSUSE       007D
MDC1DEV        0000 02
MDC1OK         0003 80

This information is based on z/VM V4R4.0. Last updated on 30 Jul 2003 at 12:57:49 EDT.
Copyright IBM Corporation, 1990, 2003