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

DBCBK

Prolog  

Control Block Contents  
   DBCBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


DBCBK Prolog

 NAME       : HCPDBCBK
 DESCRIPTION: Diagnose X'BC' file descriptions
 DSECT      : DBCBK
 FUNCTION   : To make available the requested file
              information in a specific format
              Subfunction 0 = HPO compatible version of
              file characteristics
              Subfunction 4 = VM/XA version of
              file characteristics

 

DBCBK Control Block Content


DBCBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      DBCBK          Diagnose X'BC' file descriptions
0000    0 Character    4 DBC0SPID       Spool file ID in EBCDIC
0004    4 Character    8 DBC0USER       Userid of the file owner
000C   12 Character    1 DBC0CLAS       File class
000D   13 Character    3 DBC0TYPE       File type (rdr, prt, pun, con)
0010   16 Character    8 DBC0RECS       Number of records
0018   24 Character    3 DBC0COPY       Copy count
001B   27 Character   12 DBC0FNAM       File name
0027   39 Character   12 DBC0FTYP       File type
          00000023       DBC0LEN1       *-DBC0RECS Length for asterisks
0033   51 Character    8 DBC0DATE       Date - mm/dd/yy
003B   59 Character    8 DBC0TIME       Time - hh:mm:ss
0043   67 Character    8 DBC0DIST       Distribution code
004B   75 Character    4 DBC0STAT       Status
004F   79 Character    8 DBC0FORM       User form
0057   87 Character    8 DBC0DEST       Destination
005F   95 Character    4 DBC0FLAS       Flash name
0063   99 Character    3 DBC0FLCT       Flash count
0066  102 Character    4 DBC0FCB        FCB name
006A  106 Character    4 DBC0MOD        Modify name
006E  110 Character    1 DBC0MODC       Modify count
006F  111 Character    3 DBC0LD38       3800 Load CCWs
0072  114 Character    4 DBC0CHAR       Character set names
0076  118 Character    4 DBC0CHA1       Character set names
007A  122 Character    4 DBC0CHA2       Character set names
007E  126 Character    4 DBC0CHA3       Character set names
0082  130 Character    8 DBC0PCNT       Page count
008A  138 Character    8 DBC0SECL       SECLABEL of spool file
          00000043       DBC0LEN2       *-DBC0FORM Length for asterisks
0092  146 Character   10 DBC0FULD       Date in mm/dd/yyyy format
009C  156 Character   10 DBC0ISOD       Date in yyyy-mm-dd format
00A6  166 Character   10 *              Reserved for IBM use
     Redefinition of the date in SHORTDATE format
0033   51 Character    6 DBC0SMD        MM/DD/ Month and day
0039   57 Character    2 DBC0SYR        YY 2-digit year
     Redefinition of the date in FULLDATE format
0092  146 Character    6 DBC0FMD (0)    MM/DD/ Month and day
0092  146 Character    5 DBC0F1         MM/DD
0097  151 Character    1 DBC0F2         /
0098  152 Character    4 DBC0FYR (0)    CCYY 4-digit year
0098  152 Character    2 DBC0FCC        CC 2-digit century
009A  154 Character    2 DBC0FYY        YY 2-digit year
     Redefinition of the date in ISODATE format
009C  156 Character    4 DBC0IYR (0)    CCYY 4-digit year
009C  156 Character    2 DBC0ICC        CC 2-digit century
009E  158 Character    2 DBC0IYY        YY 2-digit year
00A0  160 Character    6 DBC0IMD (0)    -MM-DD Month and day
00A0  160 Character    1 DBC0IS1        - Separator 1
00A1  161 Character    2 DBC0IM         MM Month
00A3  163 Character    1 DBC0IS2        - Separator 2
00A4  164 Character    2 DBC0ID         DD Day
     Redefinition of control block for VM/XA file characteristics
0000    0 Bitstring    1 DBC4LEV        Update level indicator
0001    1 Bitstring    1 DBC4LEN        Length of data returned in
                                        doublewords
0002    2 Character    1 DBC4CLSS       File class
0003    3 Bitstring    1 *              Reserved for IBM use
0004    4 Bitstring    1 DBC4CPYC       Copy count
0005    5 Bitstring    1 DBC4PGCC       Page count
0006    6 Bitstring    1 DBC4FLCT       Flash count
0007    7 Bitstring    1 DBC4MDNO       Modify number
          00000004       DBC4LEN1       *-DBC4CPYC Length for asterisks
0008    8 Signed       2 DBC4HXID       Spool file ID in hex
000A   10 Signed       2 DBC4RECL       Logical record count
000C   12 Signed       4 DBC4RECT       Record count
0010   16 Signed       4 DBC4DPCT       Number of SPDBK's
          0000000A       DBC4LEN2       *-DBC4RECL Length for asterisks
0014   20 Signed       4 *              Reserved for IBM use
0018   24 Character    4 DBC4TYPE       File type (rdr, prt, pun, cons)
001C   28 Character    4 DBC4SPID       Spool file ID in EBCDIC
0020   32 Character    8 DBC4USER       Userid of the file owner
0028   40 Character    8 DBC4ORIG       Userid of the file originator
0030   48 Character    8 DBC4FN         File name
0038   56 Character    8 DBC4FT         File type
          00000010       DBC4LEN3       *-DBC4FN Length for asterisks
0040   64 Character    8 DBC4DATE       Date - mm/dd/yy
0048   72 Character    8 DBC4TIME       Time - hh:mm:ss
0050   80 Character    8 DBC4DIST       Distribution code
0058   88 Character    8 DBC4DEST       Destination
0060   96 Character    8 DBC4UFM        User form name
0068  104 Character    8 DBC4OFM        Operator form name
0070  112 Character    4 DBC4FCB        FCB name
0074  116 Character    4 DBC4LD38       3800 Load CCWs
0078  120 Character    4 DBC4FLSH       Flash name
007C  124 Character    4 DBC4MODN       Modify name
0080  128 Character   16 DBC4CHRS       Character set names
0090  144 Character    8 DBC4SECL       SECLABEL of spool file
          00000048       DBC4LEN4       *-DBC4DIST Length for asterisks
0098  152 Character   10 DBC4FULD       Date in mm/dd/yyyy format
00A2  162 Character   10 DBC4ISOD       Date in yyyy-mm-dd format
00AC  172 Character    4 *              Reserved for IBM use
          00000016       DBCSIZE        (*-DBCBK+7)/8 Size of DBCBK in
                                        double words
          000000B0       DBCBSIZE       *-DBCBK Size of DBCBK in bytes
0080  128 Character    4 DBC4CHR0       Character set names
0084  132 Character    4 DBC4CHR1       Character set names
0088  136 Character    4 DBC4CHR2       Character set names
008C  140 Character    4 DBC4CHR3       Character set names
     Redefinition of the date in SHORTDATE format
0040   64 Character    6 DBC4SMD        MM/DD/ Month and day
0046   70 Character    2 DBC4SYR        YY 2-digit year
     Redefinition of the date in FULLDATE format
0098  152 Character    6 DBC4FMD (0)    MM/DD/ Month and day
0098  152 Character    5 DBC4F1         MM/DD
009D  157 Character    1 DBC4F2         /
009E  158 Character    4 DBC4FYR (0)    CCYY 4-digit year
009E  158 Character    2 DBC4FCC        CC 2-digit century
00A0  160 Character    2 DBC4FYY        YY 2-digit year
     Redefinition of the date in ISODATE format
00A2  162 Character    4 DBC4IYR (0)    CCYY 4-digit year
00A2  162 Character    2 DBC4ICC        CC 2-digit century
00A4  164 Character    2 DBC4IYY        YY 2-digit year
00A6  166 Character    6 DBC4IMD (0)    -MM-DD Month and day
00A6  166 Character    1 DBC4IS1        - Separator 1
00A7  167 Character    2 DBC4IM         MM Month
00A9  169 Character    1 DBC4IS2        - Separator 2
00AA  170 Character    2 DBC4ID         DD Day

 

DBCBK Storage Layout

          
*** DBCBK - Diagnose X'BC' file descriptions
*
*     +---------------------------+---------------------------+
*   0 |         DBC0SPID          |        DBC0USER-          |
*     +---------------------------+------+--------------------+
*   8 |          -(004)           |:0CLAS|     DBC0TYPE       |
*     +---------------------------+------+--------------------+
*  10 |                       DBC0RECS                        |
*     +--------------------+----------------------------------+
*  18 |     DBC0COPY       |            DBC0FNAM              |
*     +--------------------+                           +------+
*  20 |                                                |      |
*     +------------------------------------------------+      |
*     |                       DBC0FTYP                        |
*     |                    +----------------------------------+
*     |                    |            DBC0DATE-             |
*     +--------------------+----------------------------------+
*  38 |      -(033)        |            DBC0TIME-             |
*     +--------------------+----------------------------------+
*  40 |      -(03B)        |            DBC0DIST-             |
*     +--------------------+---------------------------+------+
*  48 |      -(043)        |         DBC0STAT          |(04F)-|
*     +--------------------+---------------------------+------+
*  50 |                   -DBC0FORM                    |(057)-|
*     +------------------------------------------------+------+
*  58 |                   -DBC0DEST                    |(05F)-|
*     +--------------------+--------------------+------+------+
*  60 |     -DBC0FLAS      |     DBC0FLCT       |  DBC0FCB-   |
*     +-------------+------+--------------------+------+------+
*  68 |   -(066)    |         DBC0MOD           |:0MODC|(06F)-|
*     +-------------+---------------------------+------+------+
*  70 | -DBC0LD38   |         DBC0CHAR          | DBC0CHA1-   |
*     +-------------+---------------------------+-------------+
*  78 |   -(076)    |         DBC0CHA2          | DBC0CHA3-   |
*     +-------------+---------------------------+-------------+
*  80 |   -(07E)    |               DBC0PCNT-                 |
*     +-------------+-----------------------------------------+
*  88 |   -(082)    |               DBC0SECL-                 |
*     +-------------+-----------------------------------------+
*  90 |   -(08A)    |                DBC0FULD                 |
*     +-------------+             +---------------------------+
*  98 |                           |         DBC0ISOD          |
*     +---------------------------+             +-------------+
*  A0 |                                         |/////////////|
*     +-----------------------------------------+/////////////|
*     |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  B0
*
*** DBCBK - Diagnose X'BC' file descriptions
          
*** Overlay for DBC0DATE in DBCBK
*
*                          +----------------------------------+
*     ...               33 |            DBC0SMD-              |
*     +------+-------------+----------------------------------+
*  38 |-(033)|  DBC0SYR    | 3B
*     +------+-------------+
*
*** Overlay for DBC0DATE in DBCBK
          
*** Overlay for DBC0FULD in DBCBK
*
*                   +----------------------------------+------+
*  90 ...        92 |             DBC0F1               |DBC0F2|
*     +-------------+-------------+--------------------+------+
*  98 |  DBC0FCC    |  DBC0FYY    | 9C
*     +-------------+-------------+
*
*** Overlay for DBC0FULD in DBCBK
          
*** Overlay for DBC0ISOD in DBCBK
*
*                                 +-------------+-------------+
*  98 ...                      9C |  DBC0ICC    |  DBC0IYY    |
*     +------+-------------+------+-------------+-------------+
*  A0 |:0IS1 |   DBC0IM    |:0IS2 |   DBC0ID    | A6
*     +------+-------------+------+-------------+
*
*** Overlay for DBC0ISOD in DBCBK
          
*** Overlay for DBC0SPID in DBCBK
*
*     +------+------+------+------+------+------+------+------+
*   0 |:4LEV |:4LEN |:4CLSS|//////|:4CPYC|:4PGCC|:4FLCT|:4MDNO|
*     +------+------+------+------+------+------+------+------+
*   8 |  DBC4HXID   |  DBC4RECL   |         DBC4RECT          |
*     +-------------+-------------+---------------------------+
*  10 |         DBC4DPCT          |///////////////////////////|
*     +---------------------------+---------------------------+
*  18 |         DBC4TYPE          |         DBC4SPID          |
*     +---------------------------+---------------------------+
*  20 |                       DBC4USER                        |
*     +-------------------------------------------------------+
*  28 |                       DBC4ORIG                        |
*     +-------------------------------------------------------+
*  30 |                        DBC4FN                         |
*     +-------------------------------------------------------+
*  38 |                        DBC4FT                         |
*     +-------------------------------------------------------+
*  40 |                       DBC4DATE                        |
*     +-------------------------------------------------------+
*  48 |                       DBC4TIME                        |
*     +-------------------------------------------------------+
*  50 |                       DBC4DIST                        |
*     +-------------------------------------------------------+
*  58 |                       DBC4DEST                        |
*     +-------------------------------------------------------+
*  60 |                       DBC4UFM                         |
*     +-------------------------------------------------------+
*  68 |                       DBC4OFM                         |
*     +---------------------------+---------------------------+
*  70 |         DBC4FCB           |         DBC4LD38          |
*     +---------------------------+---------------------------+
*  78 |         DBC4FLSH          |         DBC4MODN          |
*     +---------------------------+---------------------------+
*  80 |                       DBC4CHRS                        |
*     |                                                       |
*     +-------------------------------------------------------+
*  90 |                       DBC4SECL                        |
*     +-------------------------------------------------------+
*  98 |                       DBC4FULD                        |
*     |             +-----------------------------------------+
*  A0 |             |                DBC4ISOD                 |
*     +-------------+             +---------------------------+
*  A8 |                           |///////////////////////////|
*     +---------------------------+---------------------------+
*  B0
*
*** Overlay for DBC0SPID in DBCBK
          
*** Overlay for DBC4CHRS in DBCBK
*
*     +---------------------------+---------------------------+
*  80 |         DBC4CHR0          |         DBC4CHR1          |
*     +---------------------------+---------------------------+
*  88 |         DBC4CHR2          |         DBC4CHR3          |
*     +---------------------------+---------------------------+
*  90
*
*** Overlay for DBC4CHRS in DBCBK
          
*** Overlay for DBC4DATE in DBCBK
*
*     +-----------------------------------------+-------------+
*  40 |                DBC4SMD                  |  DBC4SYR    |
*     +-----------------------------------------+-------------+
*  48
*
*** Overlay for DBC4DATE in DBCBK
          
*** Overlay for DBC4FULD in DBCBK
*
*     +----------------------------------+------+-------------+
*  98 |             DBC4F1               |DBC4F2|  DBC4FCC    |
*     +-------------+--------------------+------+-------------+
*  A0 |  DBC4FYY    | A2
*     +-------------+
*
*** Overlay for DBC4FULD in DBCBK
          
*** Overlay for DBC4ISOD in DBCBK
*
*                   +-------------+-------------+------+------+
*  A0 ...        A2 |  DBC4ICC    |  DBC4IYY    |:4IS1 |:4IM- |
*     +------+------+-------------+-------------+------+------+
*  A8 |-(0A7)|:4IS2 |   DBC4ID    | AC
*     +------+------+-------------+
*
*** Overlay for DBC4ISOD in DBCBK

 

DBCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
DBCBSIZE       00AC 000000B0
DBCSIZE        00AC 00000016
DBC0CHAR       0072
DBC0CHA1       0076
DBC0CHA2       007A
DBC0CHA3       007E
DBC0CLAS       000C
DBC0COPY       0018
DBC0DATE       0033
DBC0DEST       0057
DBC0DIST       0043
DBC0FCB        0066
DBC0FCC        0098
DBC0FLAS       005F
DBC0FLCT       0063
DBC0FMD        0092
DBC0FNAM       001B
DBC0FORM       004F
DBC0FTYP       0027
DBC0FULD       0092
DBC0FYR        0098
DBC0FYY        009A
DBC0F1         0092
DBC0F2         0097
DBC0ICC        009C
DBC0ID         00A4
DBC0IM         00A1
DBC0IMD        00A0
DBC0ISOD       009C
DBC0IS1        00A0
DBC0IS2        00A3
DBC0IYR        009C
DBC0IYY        009E
DBC0LD38       006F
DBC0LEN1       0027 00000023
DBC0LEN2       008A 00000043
DBC0MOD        006A
DBC0MODC       006E
DBC0PCNT       0082
DBC0RECS       0010
DBC0SECL       008A
DBC0SMD        0033
DBC0SPID       0000
DBC0STAT       004B
DBC0SYR        0039
DBC0TIME       003B
DBC0TYPE       000D
DBC0USER       0004
DBC4CHRS       0080
DBC4CHR0       0080
DBC4CHR1       0084
DBC4CHR2       0088
DBC4CHR3       008C
DBC4CLSS       0002
DBC4CPYC       0004
DBC4DATE       0040
DBC4DEST       0058
DBC4DIST       0050
DBC4DPCT       0010
DBC4FCB        0070
DBC4FCC        009E
DBC4FLCT       0006
DBC4FLSH       0078
DBC4FMD        0098
DBC4FN         0030
DBC4FT         0038
DBC4FULD       0098
DBC4FYR        009E
DBC4FYY        00A0
DBC4F1         0098
DBC4F2         009D
DBC4HXID       0008
DBC4ICC        00A2
DBC4ID         00AA
DBC4IM         00A7
DBC4IMD        00A6
DBC4ISOD       00A2
DBC4IS1        00A6
DBC4IS2        00A9
DBC4IYR        00A2
DBC4IYY        00A4
DBC4LD38       0074
DBC4LEN        0001
DBC4LEN1       0007 00000004
DBC4LEN2       0010 0000000A
DBC4LEN3       0038 00000010
DBC4LEN4       0090 00000048
DBC4LEV        0000
DBC4MDNO       0007
DBC4MODN       007C
DBC4OFM        0068
DBC4ORIG       0028
DBC4PGCC       0005
DBC4RECL       000A
DBC4RECT       000C
DBC4SECL       0090
DBC4SMD        0040
DBC4SPID       001C
DBC4SYR        0046
DBC4TIME       0048
DBC4TYPE       0018
DBC4UFM        0060
DBC4USER       0020

This information is based on z/VM V4R1.0.
Last updated on 5 Jun 2001 at 13:14:20 EDT.
Copyright IBM Corporation, 1990, 2001