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

#### FUBSECT

Prolog

Control Block Contents
FUBSECT DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### FUBSECT Prolog

     NAME       : DMSFUB
     DESCRIPTION: File Space Usage Block
     DSECT      : FUBSECT
     FUNCTION   : Mapping of the CMS File Space Usage
                  Block. The FUB contains file space usage
                  information for a file space with open output
                  files.

#### FUBSECT Control Block Content

#### FUBSECT DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      FUBSECT        File Space Usage Block
                     FILE SPACE USAGE BLOCK
    0000    0 Dbl-Word     8 * (0)
    0000    0 Character    3 FUBEYEC        Eyecatcher to indicate a FUB
    0003    3 Bitstring    1 FUBFLAG        FUB flags The following are
                                            equates for the FUBFLAG field
              1... ....      FUBPREAL       X'80' This is a preallocated FUB
              .1.. ....      FUBINUSE       X'40' This FUB is currently in
                                            use
              ..1. ....      FUBVALID       X'20' The Server count of
                                            available blocks (FUBSFSAV) is
                                            valid
    0004    4 Address      4 FUBPTR         Next File Space Usage Block
    0008    8 Signed       4 FUBFLDS (0)
    0008    8 Character    8 FUBFPOOL       File Pool name
    0010   16 Character    8 FUBFSPAC       File Space name
    0018   24 Signed       4 FUBOPENF       Number of files open for output
                                            in this file space
    001C   28 Signed       4 FUBSFSAV       Signed integer containing the
                                            number of 4K blocks the SFS
                                            Server believes are left in the
                                            file space. This value may be
                                            negative if the file space limit
                                            is exceeded.
    0020   32 Signed       4 FUBCMSUS       Signed integer containing the
                                            number of 4K blocks that CMS must
                                            subtract from FUBSFSAV to
                                            incorporate changes to open
                                            files: CMS writes to unallocated
                                            blocks in CMS cache, CMS writes
                                            following OPEN REPLACE when CMS
                                            blocks are logically deleted
                                            before SPS write. Value is
                                            positive if CMS uses blocks that
                                            Server does not know are used.
                                            Value is negative when CMS makes
                                            blocks available that Server does
                                            not know are available.
    0024   36 Signed       4 * (3)          Reserved
              00000030       FUBLB          *-FUBSECT Length of FUB block in
                                            bytes
              00000006       FUBLD          (FUBLB+7)/8 Length of FUB block
                                            in dwords
              00000028       FUBFLDSL       *-FUBFLDS Length of FUB fields to
                                            clear

#### FUBSECT Storage Layout

    *** FUBSECT - File Space Usage Block
    *
    *     +--------------------+------+---------------------------+
    *   0 |      FUBEYEC       |:FLAG |          FUBPTR           |
    *     +--------------------+------+---------------------------+
    *   8 |                       FUBFPOOL                        |
    *     +-------------------------------------------------------+
    *  10 |                       FUBFSPAC                        |
    *     +---------------------------+---------------------------+
    *  18 |         FUBOPENF          |         FUBSFSAV          |
    *     +---------------------------+---------------------------+
    *  20 |         FUBCMSUS          |///////////////////////////|
    *     +---------------------------+///////////////////////////|
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  30
    *
    *** FUBSECT - File Space Usage Block

#### FUBSECT Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    FUBCMSUS       0020
    FUBEYEC        0000
    FUBFLAG        0003
    FUBFLDS        0008
    FUBFLDSL       0024 00000028
    FUBFPOOL       0008
    FUBFSPAC       0010
    FUBINUSE       0003 40
    FUBLB          0024 00000030
    FUBLD          0024 00000006
    FUBOPENF       0018
    FUBPREAL       0003 80
    FUBPTR         0004
    FUBSFSAV       001C
    FUBVALID       0003 20

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