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

#### ODT

Prolog

Control Block Contents
ODT DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ODT Prolog

     Name       : DMSODT
     Description: Open Directory Table
     DSECT      : ODT
     Function   : Defines the Open Directory Table to
                  be used by Open/Get/Close Directory program
                  functions.

#### ODT Control Block Content

#### ODT DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ODT            Open Directory Table
    0000    0 Signed       4 ODTFRWD        Pointer to next ODT in chain
    0004    4 Signed       4 ODTPREV        Pointer to previous ODT in chain
    0008    8 Character  144 ODTDIRID (0)   Fully qualified directory id
    0008    8 Character    8 ODTFPOOL       File Pool
    0010   16 Character    8 ODTUSER        Directory owner userid
    0018   24 Character  128 ODTIDRS        Subdirectory names
    0098  152 Dbl-Word     8 ODTFN          Filename
    00A0  160 Dbl-Word     8 ODTFT          Filetype
    00A8  168 Character   10 ODTINTNT       Open Intent
    00B2  178 Character    1 ODTFM          Filemode
    00B3  179 Character    1 ODTFMN         Filemode number
    00B4  180 Bitstring    1 ODTFLAGS       ODT flags
              1... ....      ODTFNWLD       X'80' wildcards in filename
              .1.. ....      ODTFTWLD       X'40' wildcards in filetype
              ..1. ....      ODTINUSE       X'20' Set if preallocated ODT
                                            inuse
              ...1 ....      ODTCUFST       X'10' Set if FST found/not
                                            returned
              .... 1...      ODTMDISK       X'08' Input is a minidisk
              .... .1..      ODTNOFM        X'04' No filemode on input
              .... ..1.      ODTEXT         X'02' Extension specified
              .... ...1      ODTACC         X'01' Accessed ADT
    00B5  181 Bitstring    3 *              Reserved
    00B8  184 Character    8 ODTTOKEN       Token returned by server on open
    00C0  192 Signed       4 ODTSQN         Sequence number
    00C4  196 Signed       4 ODTWRKUT       Workunit
    00C8  200 Signed       4 ODTGETDR (0)   Area to map remaining info.
    00C8  200 Signed       4 ODTADT         Pointer to ADT
    00CC  204 Signed       4 ODTFST         Pointer to FST
    00D0  208 Signed       4 ODTCHBA        Pointer to current hyperblock
    00D4  212 Signed       4 ODTCFST        Pointer to FST
    00D8  216 Signed       4 ODTCUCT        Pointer to UCT
    00DC  220 Character    8 ODTDOID        Directory Object Identifier
    00E4  228 Character    8 ODTMDFN        Saved Minidisk Filename
    00EC  236 Character    8 ODTMDFT        Saved Minidisk Filetype
    00F4  244 Signed       4 ODTADT1        Pointer to original ADT_addr
    00C8  200 Signed       4 ODTBUFPT       Pointer to system buffer
    00CC  204 Signed       4 ODTINDEX       Index into system buffer
    00D0  208 Signed       2 ODTTOTAL       Total number of records in buffer
    00D2  210 Signed       2 ODTCUREC       Current record in buffer
    00D4  212 Bitstring    1 ODTFLAG        Flags
              1... ....      ODTENDDT       X'80' Inicates no data left in
                                            server
    00D5  213 Bitstring    2 ODTSDSLV       Server level flags
              ODTSDSLV       ODTLVPP1       X'8000' Server level contains
                                            MCDS
              ODTSDSLV       ODTLVPP11      X'4000' Server level contains
                                            TDFM
              ODTSDSLV       ODTLVR22       X'0800' Server level contains
                                            DFDSM Change naming convention to
                                            match Q CMSLEVEL
              ODTSDSLV       ODTLCMS12      X'0400' Server level 12 contains
                                            BFS
              1... ....      ODTLCMS13      X'0080' Server level 13 has
                                            year2000
    00D7  215 Bitstring    1 ODTMULFM       Filemode if MULTIFILE intent
    00D8  216 Bitstring   32 *              Reserved
              000000F8       ODTLEN         *-ODT Length of ODT in bytes
          FILE STATUS TABLE (FILE DIRECTORY) BLOCK

#### ODT Storage Layout

    *** ODT - Open Directory Table
    *
    *     +---------------------------+---------------------------+
    *   0 |         ODTFRWD           |         ODTPREV           |
    *     +---------------------------+---------------------------+
    *   8 |                       ODTFPOOL                        |
    *     +-------------------------------------------------------+
    *  10 |                       ODTUSER                         |
    *     +-------------------------------------------------------+
    *  18 |                                                       |
    *     =                       ODTIDRS                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  98 |                        ODTFN                          |
    *     +-------------------------------------------------------+
    *  A0 |                        ODTFT                          |
    *     +-------------------------------------------------------+
    *  A8 |                       ODTINTNT                        |
    *     |             +------+------+------+--------------------+
    *  B0 |             |ODTFM |ODTFMN|:FLAGS|////////////////////|
    *     +-------------+------+------+------+--------------------+
    *  B8 |                       ODTTOKEN                        |
    *     +---------------------------+---------------------------+
    *  C0 |          ODTSQN           |         ODTWRKUT          |
    *     +---------------------------+---------------------------+
    *
    *** ODT - Open Directory Table

    *** Overlay for ORG in ODT
    *
    *     +---------------------------+---------------------------+
    *  C8 |          ODTADT           |          ODTFST           |
    *     +---------------------------+---------------------------+
    *  D0 |         ODTCHBA           |         ODTCFST           |
    *     +---------------------------+---------------------------+
    *  D8 |         ODTCUCT           |         ODTDOID-          |
    *     +---------------------------+---------------------------+
    *  E0 |          -(0DC)           |         ODTMDFN-          |
    *     +---------------------------+---------------------------+
    *  E8 |          -(0E4)           |         ODTMDFT-          |
    *     +---------------------------+---------------------------+
    *  F0 |          -(0EC)           |         ODTADT1           |
    *     +---------------------------+---------------------------+
    *  F8
    *
    *** Overlay for ORG in ODT

    *** Overlay for ORG in ODT
    *
    *     +---------------------------+---------------------------+
    *  C8 |         ODTBUFPT          |         ODTINDEX          |
    *     +-------------+-------------+------+-------------+------+
    *  D0 |  ODTTOTAL   |  ODTCUREC   |:FLAG |  ODTSDSLV   |:MULFM|
    *     +-------------+-------------+------+-------------+------+
    *  D8 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  F8
    *
    *** Overlay for ORG in ODT

#### ODT Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ODTACC         00B4 01
    ODTADT         00C8
    ODTADT1        00F4
    ODTBUFPT       00C8
    ODTCFST        00D4
    ODTCHBA        00D0
    ODTCUCT        00D8
    ODTCUFST       00B4 10
    ODTCUREC       00D2
    ODTDIRID       0008
    ODTDOID        00DC
    ODTENDDT       00D4 80
    ODTEXT         00B4 02
    ODTFLAG        00D4
    ODTFLAGS       00B4
    ODTFM          00B2
    ODTFMN         00B3
    ODTFN          0098
    ODTFNWLD       00B4 80
    ODTFPOOL       0008
    ODTFRWD        0000
    ODTFST         00CC
    ODTFT          00A0
    ODTFTWLD       00B4 40
    ODTGETDR       00C8
    ODTIDRS        0018
    ODTINDEX       00CC
    ODTINTNT       00A8
    ODTINUSE       00B4 20
    ODTLCMS12      00D5 ODTSDSLV
    ODTLCMS13      00D5 80
    ODTLEN         00D8 000000F8
    ODTLVPP1       00D5 ODTSDSLV
    ODTLVPP11      00D5 ODTSDSLV
    ODTLVR22       00D5 ODTSDSLV
    ODTMDFN        00E4
    ODTMDFT        00EC
    ODTMDISK       00B4 08
    ODTMULFM       00D7
    ODTNOFM        00B4 04
    ODTPREV        0004
    ODTSDSLV       00D5
    ODTSQN         00C0
    ODTTOKEN       00B8
    ODTTOTAL       00D0
    ODTUSER        0010
    ODTWRKUT       00C4

This information is based on z/VM V5R2.0.
Last updated on 6 Dec 2005 at 15:33:37 EDT.
Copyright IBM Corporation, 1990, 2005