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

FIOBK

Prolog  

Control Block Contents  
   FIOBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


FIOBK Prolog

 NAME       : HCPFIOBK
 DESCRIPTION: FORMATTED I/O BLOCK
 DSECT      : FIOBK
 FUNCTION   : DEFINE DASD I/O REQUEST TO STAND-ALONE DASD I/O ROUTINE
              WITH A DESCRIPTION OF THE AREA ON THE VOLUME THAT IS TO
              USED.  THE DATA CAN BE ACCESSED BY using either a
              relative block number or an ASA.
 LOCATED BY : GENERAL PURPOSE REGISTER 1 ON ENTRY TO HCPLODAS
 CREATED BY : HCPCKPRS - BEFORE SYSTEM INITIALIZATION ON A SYSTEM BOUNCE
              HCPCKPSH - DURING AN ABNORMAL TERMINATION OR SHUTDOWN
              HCPLODNC - DURING THE SYSTEM LOAD PROCESS
 DELETED BY : FIOBK IS OBVIATED WHEN SYSTEM BECOMES FUNCTIONAL

 

FIOBK Control Block Content


FIOBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      FIOBK          FORMATTED I/O BLOCK
     - INITIALIZATION AND TERMINATION
0000    0 Bitstring    1 FIOCCWOP       CCW OP-CODE, CWODRDTA OR CWODWDTA
0001    1 Bitstring    1 FIOFLAG        I/O CONDITION FLAG (CC=1)
          1... ....      FIOSTRFL       X'80' I/O STORAGE FAILURE, CANNOT
                                        LOAD BLOCK
          .1.. ....      FIOFAIL        X'40' I/O FAILURE AFTER 10
                                        ATTEMPTS
          ..1. ....      FIODEVIC       X'20' I/0 DEVICE DOES NOT RESPOND
          ...1 ....      FIORANGE       X'10' I/O OUTSIDE OF RANGE OF
                                        CYLINDERS OR PAGES
          .... ....      FIOSUCES       X'00' CC=0 I/O WAS SUCCESSFUL
0002    2 Bitstring    1 FIOWRPFL       HCPWRP requesting altnuc I/O
                                        flags
          1... ....      FIOIPLRC       X'80' Read IPL rec from vol in
                                        FIOASA
          .1.. ....      FIOLODMD       X'40' Read HCPLOD from Volume in
                                        FIOASA
0003    3 Bitstring    1 *              Reserved for future IBM use
0004    4 Signed       4 FIOAREAS       Starting cylinder(CKD/ECKD) or
                                        page(FBA) number of the area on
                                        the volume where I/O can be done
0008    8 Signed       4 FIOAREAL       Length in cylinders/pages of the
                                        area on the volume where I/O can
                                        done
000C   12 Signed       2 FIOPCYLS       PAGES PER CYLINDER ON THIS DEVICE
000E   14 Signed       2 FIOPTRKS       PAGES PER TRACK ON THIS DEVICE
0010   16 Address      4 FIOPAGAD       ADDRESS OF PAGE TO BE READ OR
                                        WRITTEN
0014   20 Signed       4 FIOSUBCH       SUBCHANNEL NUMBER OF UNIT
0018   24 Signed       4 FIOASA         Spooling ASA(CKD-CCPV, FBA-PPPV)
001C   28 Signed       4 FIOBLKNO       BLOCK NUMBER WITH 'FILE'
0020   32 Signed       2 FIOLEN         LENGTH OF RECORD TO BE READ OR
                                        WRITTEN
0022   34 Signed       2 *              RESERVED FOR FUTURE IBM USE
          00000005       FIOSIZE        (*-FIOBK+7)/8 LENGTH OF FORMATTED
                                        I/O BLOCK

 

FIOBK Storage Layout

          
*** FIOBK - FORMATTED I/O BLOCK
*
*     +------+------+------+------+---------------------------+
*   0 |:CCWOP|:FLAG |:WRPFL|//////|         FIOAREAS          |
*     +------+------+------+------+-------------+-------------+
*   8 |         FIOAREAL          |  FIOPCYLS   |  FIOPTRKS   |
*     +---------------------------+-------------+-------------+
*  10 |         FIOPAGAD          |         FIOSUBCH          |
*     +---------------------------+---------------------------+
*  18 |          FIOASA           |         FIOBLKNO          |
*     +-------------+-------------+---------------------------+
*  20 |   FIOLEN    |/////////////| 24
*     +-------------+-------------+
*
*** FIOBK - FORMATTED I/O BLOCK

 

FIOBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
FIOAREAL       0008
FIOAREAS       0004
FIOASA         0018
FIOBLKNO       001C
FIOCCWOP       0000
FIODEVIC       0001 20
FIOFAIL        0001 40
FIOFLAG        0001
FIOIPLRC       0002 80
FIOLEN         0020
FIOLODMD       0002 40
FIOPAGAD       0010
FIOPCYLS       000C
FIOPTRKS       000E
FIORANGE       0001 10
FIOSIZE        0022 00000005
FIOSTRFL       0001 80
FIOSUBCH       0014
FIOSUCES       0001 00
FIOWRPFL       0002

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