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

FBLOCK

Prolog  

Control Block Contents  
   FBLOCK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


FBLOCK Prolog

 Name       : FBLOCK
 Description: EXEC File Execution Control Block
 DSECT      : FBLOCK
 Function   : FBLOCK contains information used by EXEC2 or
              REXX/VM to run an exec. A pointer to the FBLOCK
              is provided in the PLIST when the appropriate
              interpreter is called to run the exec. FBLOCK
              is found in FBLOCK macro.
              NOTES      :  When an EXEC or XEDIT macro has been
              loaded into storage via the EXECLOAD command and
              the EXEC or XEDIT macro is invoked via a CMSCALL
              on which a FBLOCK is supplied, the high-order bit
              of the FBLOCK address (Word 4 of the Extended
              PLIST) must be set on in order for the usage
              count reported by the EXECMAP command to be
              incremented. A high-order bit of 1 in the address
              of the FBLOCK indicates that the EXEC is in
              storage as a result of an EXECLOAD command.

 

FBLOCK Control Block Content


FBLOCK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      FBLOCK         EXEC File Execution Control Block
0000    0 Signed       4 * (0)
0000    0 Character    8 FBLNAME        Filename
0008    8 Character    8 FBLTYPE        Filetype
0010   16 Character    2 FBLMODE        Filemode
          00000012       FBLLFI         *-FBLNAME Length of fileid
0012   18 Signed       2 FBLEXTL        Extension block length (words)
0014   20 Address      4 FBLDLS         Descriptor list start
0018   24 Signed       4 FBLDLE         Descriptor list length (bytes)
001C   28 Character    8 FBLPREF        Explicit initial prefix
0024   36 Character    8 FBLENAME       Explicit environment name
002C   44 Address      4 FBLSEXIT       System Exit vector address
0030   48 Signed       4 FBLEUSER       System Exit User Word
          00000034       FBLLENL        *-FBLNAME Length of fblock
                                        (bytes)
          00000007       FBLLEND        (FBLLENL+7)/8 Length of fblock
                                        (dwords)

 

FBLOCK Storage Layout

          
*** FBLOCK - EXEC File Execution Control Block
*
*     +-------------------------------------------------------+
*   0 |                       FBLNAME                         |
*     +-------------------------------------------------------+
*   8 |                       FBLTYPE                         |
*     +-------------+-------------+---------------------------+
*  10 |  FBLMODE    |  FBLEXTL    |          FBLDLS           |
*     +-------------+-------------+---------------------------+
*  18 |          FBLDLE           |         FBLPREF-          |
*     +---------------------------+---------------------------+
*  20 |          -(01C)           |        FBLENAME-          |
*     +---------------------------+---------------------------+
*  28 |          -(024)           |         FBLSEXIT          |
*     +---------------------------+---------------------------+
*  30 |         FBLEUSER          | 34
*     +---------------------------+
*
*** FBLOCK - EXEC File Execution Control Block

 

FBLOCK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
FBLDLE         0018
FBLDLS         0014
FBLENAME       0024
FBLEUSER       0030
FBLEXTL        0012
FBLLEND        0030 00000007
FBLLENL        0030 00000034
FBLLFI         0010 00000012
FBLMODE        0010
FBLNAME        0000
FBLPREF        001C
FBLSEXIT       002C
FBLTYPE        0008

This information is based on z/VM V4R3.0.
Last updated on 1 May 2002 at 14:18:52 EDT.
Copyright IBM Corporation, 1990, 2002