FSBK - 32-bit CP - V4R4.0

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

#### FSBK

Prolog

Control Block Contents
FSBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### FSBK Prolog

     Name       : HCPFSBK
     Description: CP File Status Block
     DSECT      : FSBK
     Function   : The FSBK contains information about a single
                  file on the mini-disk
     Located by : FSBK.FSHFSBR(i)
                  OFBK.OFBFSB
     Created by : HCPZIA
     Deleted by : HCPZIA
                  HCPZIR
     Comments   : Individual FSBK storage areas are actually contiguous
                  sections in full pages that are pointed to by FSHBKs.
                  Individual FSBKs are never allocated by HCPGETST and
                  never released by HCPRELST.

#### FSBK Control Block Content

#### FSBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      FSBK           CP File Status Block
    0000    0 Character   16 FSBFID (0)     File-id, filename-filetype
    0000    0 Character    8 FSBFIDFN       File-id, filename portion
    0008    8 Character    8 FSBFIDFT       File-id, filetype portion
    0010   16 Signed       4 FSBFOP         File Origin Pointer
    0014   20 Signed       4 FSBRECDS       Last record in file
    0018   24 Signed       4 FSBLRECL       Longest record in file
    001C   28 Signed       4 FSBOPENS       Count of times opened
    0020   32 Signed       4 FSBCLOSD       Count of times closed
    0024   36 Signed       4 FSBOPEND       Count of times was already open
    0028   40 Character    6 FSBDATIM       Date & Time (YY MM DD HH MM SS)
    002E   46 Signed       1 FSB#LVL        Levels of pointer blocks
    002F   47 Bitstring    1 FSBFLAG        Flag byte for FSBK
              1... ....      FSBCACHE       X'80' File has been cached
              .1.. ....      FSBCNTRY       X'40' Century for date in
                                            FSBDATIM (0=19, 1=20)
              .... ..1.      FSBRCFMF       X'02' RECFM is F
              .... ...1      FSBRCFMV       X'01' RECFM is V
    0030   48 Dbl-Word     8 FSB$END (0)    End of FSBK
              00000030       FSBSIZEB       (*-FSBK) Size in bytes
              00000006       FSBSIZED       (*-FSBK+7)/8 Size in d-words

#### FSBK Storage Layout

    *** FSBK - CP File Status Block
    *
    *     +-------------------------------------------------------+
    *   0 |                       FSBFIDFN                        |
    *     +-------------------------------------------------------+
    *   8 |                       FSBFIDFT                        |
    *     +---------------------------+---------------------------+
    *  10 |          FSBFOP           |         FSBRECDS          |
    *     +---------------------------+---------------------------+
    *  18 |         FSBLRECL          |         FSBOPENS          |
    *     +---------------------------+---------------------------+
    *  20 |         FSBCLOSD          |         FSBOPEND          |
    *     +---------------------------+-------------+------+------+
    *  28 |                FSBDATIM                 |:#LVL |:FLAG |
    *     +-----------------------------------------+------+------+
    *
    *** FSBK - CP File Status Block

#### FSBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    FSB$END        0030
    FSB#LVL        002E
    FSBCACHE       002F 80
    FSBCLOSD       0020
    FSBCNTRY       002F 40
    FSBDATIM       0028
    FSBFID         0000
    FSBFIDFN       0000
    FSBFIDFT       0008
    FSBFLAG        002F
    FSBFOP         0010
    FSBLRECL       0018
    FSBOPEND       0024
    FSBOPENS       001C
    FSBRCFMF       002F 02
    FSBRCFMV       002F 01
    FSBRECDS       0014
    FSBSIZEB       0030 00000030
    FSBSIZED       0030 00000006

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