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

#### ESDBK

Prolog

Control Block Contents
ESDBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ESDBK Prolog

     NAME       : HCPESDBK
     DESCRIPTION: External Symbol Dictionary Block
     DSECT      : ESDBK
     FUNCTION   : External Symbol Dictionary Block
     LOCATED BY : LABK.LABESDQ1
                  LABK.LABESDQ2
                  LABK.LABESDP@
                  LABK.LABESD0L
                  LABK.LABBASSD
                  ESDBK.ESDBFWD
                  ESDBK.ESDBASSD
                  RLDBK.RLDBPESD
                  RLDBK.RLDBP@
                  RLDBK.RLDBPV
                  RLDBK.RLDBPR
                  RLDBK.RLDBRESD
                  RLDBK.RLDBR@
                  RLDBK.RLDBRV
                  RLDBK.RLDBRR
     CREATED BY : HCPCLO while processing CPXLOAD command
     DELETED BY : HCPCLO while processing CPXLOAD command
     REFERENCES : HCPICRBK - Indirect Call Request Block
                  HCPLRBK  - CPXLOAD Load Request Block
     SERIALIZED : None.

#### ESDBK Control Block Content

#### ESDBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ESDBK          External Symbol Dictionary Block
           This area duplicates the definition of OBJESDN1 from .ESD
    0000    0 Bitstring   16 ESDBDATA (0)   Copy of OBJESDN1 from .ESD
                                            defined in HCPOBJCT COPY
    0000    0 Character    8 ESDBNAME       External name
    0008    8 Bitstring    1 ESDBETYP       Type of external def'n
              00000000       OBJESDSD       X'00' SD Segment Definition
              00000001       OBJESDLD       X'01' LD Label Definition
              00000002       OBJESDER       X'02' ER External Reference
              00000004       OBJESDPC       X'04' PC Private Control section
              00000005       OBJESDCM       X'05' CM Common section
              00000006       OBJESDXD       X'06' XD Dummy External DSECT
              0000000A       OBJESDWX       X'0A' WX Weak External reference
              000000FF       OBJESDUN       X'FF' UN ESD type not determined
                                            yet
    0009    9 Address      3 ESDBASM@       Use depends on ESD entry: For SD,
                                            PC, LD address is assigned by the
                                            assembler For ER For WX For XD
                                            For CM
    000C   12 Bitstring    1 ESDBFLAG       Use depends on ESD entry: For SD
                                            or PC,
              00000004       ESDBRMOD       B'00000100' 1 RMODE ANY
              00000003       ESDBAMOD       B'00000011' 00 AMODE 24 01 AMODE
                                            24 10 AMODE 31 11 AMODE ANY
    000D   13 Signed       3 ESDBLDL        Use depends on ESD entry: For SD
                                            0 if length of the SD is on the
                                            END card For SD, PC or CM length
                                            of the CSECT For LD esdid of the
                                            SD that contains the label For
                                            ER, WX blank For PR length of
                                            pseudo-register
    0010   16 Address      4 ESDBFWD        Address of next ESDBK
    0014   20 Bitstring    1 ESDBF0         Flag byte
              1... ....      ESDBDEFN       X'80' Defined or encountered
              .1.. ....      ESDBDELT       X'40' Entry marked for deletion
              ..1. ....      ESDBNTXT       X'20' Text cannot be placed here
              ...1 ....      ESDBCP         X'10' Entry already part of CP
              .... ..1.      ESDBTEMP       X'02' Part of a TEMP CSECT
              .... ...1      ESDBBYUS       X'01' Loaded by current CPXLOAD
    0015   21 Bitstring    1 ESDBF1         Flag byte
              .... ...1      LRBBF1ZZ       X'01' fatal error
           Bits in ESDBF4 are copied from LABK.LABBF4
    0016   22 Bitstring    1 ESDBF4         Flag byte
              1... ....      LRBBF2LT       X'80' LET option
              .1.. ....      LRBBF2NL       X'40' NOLET option
              ..1. ....      LRBBF2DL       X'20' DELAY option
              ...1 ....      LRBBF2ND       X'10' NODELAY option
              .... 1...      LRBBF2MP       X'08' MP option
              .... .1..      LRBBF2UP       X'04' NONMP option
           Bits in ESDBF5 are copied from LABK.LABBF5
    0017   23 Bitstring    1 ESDBF5         Flag byte
              .1.. ....      LRBBF3SY       X'40' SYNC specified
              ..1. ....      LRBBF3LK       X'20' LOCK specified
              ...1 ....      LRBBF3NL       X'10' NOLOCK specified
              .... 1...      LRBBF3CN       X'08' CONTROL specified
              .... .1..      LRBBF3NC       X'04' NOCONTROL specified
              .... ..1.      LRBBF3PE       X'02' PERMANENT specified
              .... ...1      LRBBF3TE       X'01' TEMPORARY specified
    0018   24 Signed       4 ESDBALGN       Value from .SPB statement
    001C   28 Signed       4 ESDBUPB        Value from .UPB statement
    0020   32 Signed       4 ESDBEXP        Sum of EXPAND statement values
    0024   36 Signed       4 ESDBICS        Value from .ICS statement
    0028   40 Signed       4 ESDBTXTL       Farthest TXT data went
    002C   44 Signed       4 ESDBENDL       CSECT length from .END statement
    0030   48 Signed       4 ESDBSIZE       Maximum of all values that give
                                            the size of the CSECT
    0034   52 Address      4 ESDBLABK       Address of the LABK that loaded
                                            this external symbol.
    0038   56 Address      4 ESDBsADR       Address of entry pt in storage
    003C   60 Bitstring    4 *              Reserved
    0040   64 Address      4 ESDBICL@       Real address of ICLBK
    0044   68 Bitstring    4 *              Reserved
    0048   72 Bitstring    1 ESDBPAD        Pad (from .PAD)
    0049   73 Bitstring    1 ESDBICLB       Bits for ICLBK
              .1.. ....      ICRRLONG       X'40' Caller is LONGREG
              ..1. ....      ICRELONG       X'20' Callee is LONGREG
              ...1 ....      ICRESTA        X'10' callee uses static savearea
              .... 1...      ICRRMP         X'08' caller MP capable
              .... .1..      ICRERES        X'04' callee Resident
              .... ..1.      ICREMP         X'02' callee MP capable
              .... ...1      ICRTRC         X'01' issue TRACE instruction
    004A   74 Signed       2 *              Reserved
    004C   76 Address      4 ESDBASSD       ESDBK addr of base SD or PC for
                                            this ESDBK
    0050   80 Dbl-Word     8 ESDB$END (0)   The end

#### ESDBK Storage Layout

    *** ESDBK - External Symbol Dictionary Block
    *
    *     +-------------------------------------------------------+
    *   0 |                       ESDBNAME                        |
    *     +------+--------------------+------+--------------------+
    *   8 |:BETYP|     ESDBASM@       |:BFLAG|      ESDBLDL       |
    *     +------+--------------------+------+------+------+------+
    *  10 |         ESDBFWD           |ESDBF0|ESDBF1|ESDBF4|ESDBF5|
    *     +---------------------------+------+------+------+------+
    *  18 |         ESDBALGN          |         ESDBUPB           |
    *     +---------------------------+---------------------------+
    *  20 |         ESDBEXP           |         ESDBICS           |
    *     +---------------------------+---------------------------+
    *  28 |         ESDBTXTL          |         ESDBENDL          |
    *     +---------------------------+---------------------------+
    *  30 |         ESDBSIZE          |         ESDBLABK          |
    *     +---------------------------+---------------------------+
    *  38 |         ESDBSADR          |///////////////////////////|
    *     +---------------------------+---------------------------+
    *  40 |         ESDBICL@          |///////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  48 |:BPAD |:BICLB|/////////////|         ESDBASSD          |
    *     +------+------+-------------+---------------------------+
    *
    *** ESDBK - External Symbol Dictionary Block

#### ESDBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ESDB$END       0050
    ESDBsADR       0038
    ESDBALGN       0018
    ESDBAMOD       000C 00000003
    ESDBASM@       0009
    ESDBASSD       004C
    ESDBBYUS       0014 01
    ESDBCP         0014 10
    ESDBDATA       0000
    ESDBDEFN       0014 80
    ESDBDELT       0014 40
    ESDBENDL       002C
    ESDBETYP       0008
    ESDBEXP        0020
    ESDBFLAG       000C
    ESDBFWD        0010
    ESDBF0         0014
    ESDBF1         0015
    ESDBF4         0016
    ESDBF5         0017
    ESDBICL@       0040
    ESDBICLB       0049
    ESDBICS        0024
    ESDBLABK       0034
    ESDBLDL        000D
    ESDBNAME       0000
    ESDBNTXT       0014 20
    ESDBPAD        0048
    ESDBRMOD       000C 00000004
    ESDBSIZE       0030
    ESDBTEMP       0014 02
    ESDBTXTL       0028
    ESDBUPB        001C
    ICRELONG       0049 20
    ICREMP         0049 02
    ICRERES        0049 04
    ICRESTA        0049 10
    ICRRLONG       0049 40
    ICRRMP         0049 08
    ICRTRC         0049 01
    LRBBF1ZZ       0015 01
    LRBBF2DL       0016 20
    LRBBF2LT       0016 80
    LRBBF2MP       0016 08
    LRBBF2ND       0016 10
    LRBBF2NL       0016 40
    LRBBF2UP       0016 04
    LRBBF3CN       0017 08
    LRBBF3LK       0017 20
    LRBBF3NC       0017 04
    LRBBF3NL       0017 10
    LRBBF3PE       0017 02
    LRBBF3SY       0017 40
    LRBBF3TE       0017 01
    OBJESDCM       0008 00000005
    OBJESDER       0008 00000002
    OBJESDLD       0008 00000001
    OBJESDPC       0008 00000004
    OBJESDSD       0008 00000000
    OBJESDUN       0008 000000FF
    OBJESDWX       0008 0000000A
    OBJESDXD       0008 00000006

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 16:52:52 EDT.
Copyright IBM Corporation, 1990, 2005