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

#### ANCHSECT

Prolog

Control Block Contents
ANCHSECT DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ANCHSECT Prolog

     Name       : ANCHTAB
     Description: Anchor Table
     DSECT      : ANCHSECT
     Function   : ANCHSECT defines the VSE anchor table. This
                  DSECT is used by DMSDOS when a CDLOAD (SVC 65)
                  is issued, and the specified phase is not found
                  in either the CMSVSAM or CMSAMS segment. In
                  this case, the specified phase is loaded either
                  from a CMS DOSLIB or a VSE core image library,
                  and the name, load point, entry point and
                  length in bytes of the phase are saved in an
                  available slot in the anchor table. ANCHSECT is
                  called by the ANCHTAB macro.

#### ANCHSECT Control Block Content

#### ANCHSECT DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ANCHSECT       Anchor Table
         BEGINNING OF AN ANCHOR-TABLE:
    0000    0 Address      4 ANCHENDA       END ADDRESS OF ANCHOR TABLE
    0004    4 Address      4 ABCHLUB        Dynamic Assign Table
    0008    8 Address      4 ANCHCBS        POINTER TO VSAM "AMCB" TABLE
    000C   12 Address      4 ANCHOAL        POINTER TO VSAM "OAL" (OPEN ACB)
                                            TABLE
    0010   16 Address      4 ANCHCCRB       Compression Serv Root Block Ptr.
    0014   20 Address      4 ANCHCCGT       Compression Services Gate Word
    0018   24 Signed       4 * (26)         Reserved area for VSAM use
         FOLLOWED BY ONE OR MORE ANCHOR-TABLE ENTRIES OF THE FOLLOWING FORMAT:
    0080  128 Character    8 ANCHPHNM       PHASE NAME
    0088  136 Address      4 ANCHLDPT       LOAD POINT
    008C  140 Address      4 ANCHENTP       ENTRY POINT
    0090  144 Bitstring    1 ANCHSTSW       STATUS SWITCH
    0091  145 Address      3 ANCHPHLN       LENGTH OF PHASE IN BYTES
         Allocate space for 43 more 20 byte anchor table entries.
    0094  148 Signed       4 * (219)        Dynamic Fetch Entries, each 20
                                            bytes, (CMS only).
         ANCHSTSW DEFINITIONS:
              .... ....      ANCHMLOD       X'00' PHASE MUST BE LOADED
              .111 1111      ANCHINST       X'7F' PHASE IS ALREADY IN STORAGE
              1111 1111      ANCHRPJL       X'FF' REQUESTED PHASE JUST LOADED
                                            BY ANOTHER TASK (ONLY IF AP=YES)
              00000014       ANCHLENG       20 LENGTH OF ONE ANCHOR-TABLE
                                            ENTRY
              00000400       ANCHSIZ        1024 DEFAULT SIZE OF ANCHOR TABLE
                                            (IN BYTES)

#### ANCHSECT Storage Layout

    *** ANCHSECT - Anchor Table
    *
    *     +---------------------------+---------------------------+
    *   0 |         ANCHENDA          |         ABCHLUB           |
    *     +---------------------------+---------------------------+
    *   8 |         ANCHCBS           |         ANCHOAL           |
    *     +---------------------------+---------------------------+
    *  10 |         ANCHCCRB          |         ANCHCCGT          |
    *     +---------------------------+---------------------------+
    *  18 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  80 |                       ANCHPHNM                        |
    *     +---------------------------+---------------------------+
    *  88 |         ANCHLDPT          |         ANCHENTP          |
    *     +------+--------------------+---------------------------+
    *  90 |:HSTSW|     ANCHPHLN       |///////////////////////////|
    *     +------+--------------------+///////////////////////////|
    *  98 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    * 400
    *
    *** ANCHSECT - Anchor Table

#### ANCHSECT Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ABCHLUB        0004
    ANCHCBS        0008
    ANCHCCGT       0014
    ANCHCCRB       0010
    ANCHENDA       0000
    ANCHENTP       008C
    ANCHINST       0094 7F
    ANCHLDPT       0088
    ANCHLENG       0094 00000014
    ANCHMLOD       0094 00
    ANCHOAL        000C
    ANCHPHLN       0091
    ANCHPHNM       0080
    ANCHRPJL       0094 FF
    ANCHSIZ        0094 00000400
    ANCHSTSW       0090

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