FBLOCK | Back to Index page

| Prolog Control Block Contents FBLOCK 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.

FBLOCK Prolog | Top of page

     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 | Top of page

     FBLOCK DSECT
    Top of page

    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 | Top of page

    *** 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 | Top of page

    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 7.2.0 Last updated on 24 Jun 2020 at 09:36:25 EDT.
Copyright IBM Corporation, 1990, 2020