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
 RELOCATION CONSIDERATIONS : None

 

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' FIOSTRFL I/O STORAGE
                                        FAILURE, CANNOT LOAD BLOCK
          .1.. ....      FIOFAIL        X'40' FIOFAIL I/O FAILURE AFTER
                                        10 ATTEMPTS
          ..1. ....      FIODEVIC       X'20' FIODEVIC I/0 DEVICE DOES
                                        NOT RESPOND
          ...1 ....      FIORANGE       X'10' FIORANGE I/O OUTSIDE OF
                                        RANGE OF CYLINDERS OR PAGES
          .... ....      FIOSUCES       X'00' FIOSUCES CC=0 I/O WAS
                                        SUCCESSFUL
0002    2 Bitstring    1 FIOWRPFL       HCPWRP requesting altnuc I/O
                                        flags
          1... ....      FIOIPLRC       X'80' FIOIPLRC Read IPL rec from
                                        vol in FIOASA
          .1.. ....      FIOLODMD       X'40' FIOLODMD 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      8 FIOPAGAD       Host Absolute address of page to
                                        be read or written.
0018   24 Signed       4 FIOSUBCH       SUBCHANNEL NUMBER OF UNIT
001C   28 Signed       4 FIOASA         Spooling ASA(CKD-CCPV, FBA-PPPV)
0020   32 Signed       4 FIOBLKNO       BLOCK NUMBER WITH 'FILE'
0024   36 Signed       2 FIOLEN         LENGTH OF RECORD TO BE READ OR
                                        WRITTEN
0026   38 Signed       2 *              RESERVED FOR FUTURE IBM USE
0028   40 Signed       4 FIORDEV        Address of RDEV block
          00000006       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                        |
*     +---------------------------+---------------------------+
*  18 |         FIOSUBCH          |          FIOASA           |
*     +---------------------------+-------------+-------------+
*  20 |         FIOBLKNO          |   FIOLEN    |/////////////|
*     +---------------------------+-------------+-------------+
*  28 |         FIORDEV           | 2C
*     +---------------------------+
*
*** FIOBK - FORMATTED I/O BLOCK

 

FIOBK Cross Reference

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

This information is based on z/VM V6R2.0. Last updated on 21 Nov 2011 at 11:02:53 EDT.
Copyright IBM Corporation, 1990, 2011