FSBK Back to Index page
 
Prolog 
Control Block Contents 
   FSBK DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  FSBK Prolog Top of page
 
 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
 RELOCATION CONSIDERATIONS : None
 COMMENTS   : The CMS FSTD is copied in total.  CMS fields that CP
              does not use are "reserved" or just plain ignored.
              Some (FSBOPENS, for example) are redefined over CMS
              fields that CP does not care about.
              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 Top of page
 

 FSBK DSECT Top of page
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 FSBOPENS Count of times opened 0014 20 Signed 4 FSBCLOSD Count of times closed 0018 24 Signed 4 FSBOPEND Count of times was already open 001C 28 Signed 2 * 001E 30 Character 1 FSBRECFM - F*1 - RECORD FORMAT - F OR V 11.. .11. FSBDFIX C'F' FSBDFIX - Fixed record format 111. .1.1 FSBDVAR C'V' FSBDVAR - Variable record format 001F 31 Bitstring 1 FSBFLAG Flag byte for FSBK 1... .... FSBCACHE X'80' FSBCACHE File has been cached .... 1... FSBCNTRY X'08' FSBCNTRY Century for date in FSBDATIM (0=19, 1=20) 0020 32 Signed 4 FSBLRECL Longest record in file 0024 36 Signed 4 * 0028 40 Signed 4 FSBFOP File Origin Pointer 002C 44 Signed 4 FSB#DBC Number of data blocks 0030 48 Signed 4 FSBRECDS Last record in file 0034 52 Signed 1 FSB#LVL Levels of pointer blocks 0035 53 Bitstring 1 * 0036 54 Character 6 FSBDATIM Date & Time (YY MM DD HH MM SS) 003C 60 Character 1 * 003D 61 Bitstring 1 * 003E 62 Character 2 * 0040 64 Dbl-Word 8 FSB$END (0) End of FSBK 00000040 FSBSIZEB (*-FSBK) Size in bytes 00000008 FSBSIZED (*-FSBK+7)/8 Size in d-words
 
 
  FSBK Storage Layout Top of page
 
          
*** FSBK - CP File Status Block
*
*     +-------------------------------------------------------+
*   0 |                       FSBFIDFN                        |
*     +-------------------------------------------------------+
*   8 |                       FSBFIDFT                        |
*     +---------------------------+---------------------------+
*  10 |         FSBOPENS          |         FSBCLOSD          |
*     +---------------------------+-------------+------+------+
*  18 |         FSBOPEND          |/////////////|:RECFM|:FLAG |
*     +---------------------------+-------------+------+------+
*  20 |         FSBLRECL          |///////////////////////////|
*     +---------------------------+---------------------------+
*  28 |          FSBFOP           |         FSB#DBC           |
*     +---------------------------+------+------+-------------+
*  30 |         FSBRECDS          |:#LVL |//////|   (036)-    |
*     +---------------------------+------+------+-------------+
*  38 |        -FSBDATIM          |//////|//////|/////////////|
*     +---------------------------+------+------+-------------+
*
*** FSBK - CP File Status Block
 
 
  FSBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
FSB$END        0040
FSB#DBC        002C
FSB#LVL        0034
FSBCACHE       001F 80
FSBCLOSD       0014
FSBCNTRY       001F 08
FSBDATIM       0036
FSBDFIX        001E C6
FSBDVAR        001E E5
FSBFID         0000
FSBFIDFN       0000
FSBFIDFT       0008
FSBFLAG        001F
FSBFOP         0028
FSBLRECL       0020
FSBOPEND       0018
FSBOPENS       0010
FSBRECDS       0030
FSBRECFM       001E
FSBSIZEB       0040 00000040
FSBSIZED       0040 00000008
 
This information is based on z/VM 7.3.0 Last updated on 22 Jun 2022 at 15:53:13 EDT.
Copyright IBM Corporation, 1990, 2022