HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Symbol Record—X'0042'

HLASM Programmer's Guide
SC26-4941-06

Field Size Description
ESDID FL4 ESDID of the section in which the symbol is defined. This is zero for an undefined symbol type.
Statement Number FL4 The number of the statement in which the symbol is defined. This is zero for an undefined symbol type.
Location Counter FL4 Contains the offset from the start of the DSECT, the non-relocated address of the instruction belonging to this symbol in a CSECT (this is not always the offset from the start of the CSECT), or the value of the equate. This is zero for an undefined symbol type.
Symbol Type XL1
X'00'
Undefined name
X'01'
CSECT / RSECT name
X'02'
DSECT name
X'03'
Common section name
X'04'
Dummy External DSECT name (DXD)
X'05'
V-type constant name
X'06'
Qualifier
X'07'
EXTRN/WXTRN name
X'08'
LOCTR name
X'09'
Duplicate name
X'0A'
Literal name
X'0B'
*-in-literal name
X'0C'
EQU name  1 
X'0D'
Ordinary label
X'0E'
Unresolvable EQU, DC, or DS symbol
Duplication Factor FL4 Number of times the first operand field named by the symbol occurs. This is zero for an undefined symbol type.
Type Attribute XL1 The value that the assembler Type Attribute reference returns (see "Type attribute (T')" in the HLASM Language Reference).
Assembler Type CL4 The value that the assembler SYSATTRA() internal function returns (see "SYSATTRA" in the HLASM Language Reference).
Program Type XL4 The value that the assembler SYSATTRP() internal function returns (see "SYSATTRP" in the HLASM Language Reference).
Length attribute FL4 Length in bytes, either specified or by default.
Integer attribute HL2 Number of positions occupied by the integer portion of fixed-point and decimal constants in their object code form. This is zero for an undefined symbol type.
Scaling attribute HL2 Number of positions occupied by the fractional portion of fixed-point and decimal constants in their object code form. This is zero for an undefined symbol type.
Symbol Flags XL1
1... ....
Bit 1 = 1, the symbol is relocatable, Bit 0 = the symbol is absolute. This bit is zero for an undefined symbol type.
11.. ....
Complex relocatable
..1. ....
Reserved
...1 ....
Reserved
.... 1...
Reserved
.... .1..
Reserved
.... ..1.
Reserved
.... ...1
Reserved
  XL7 Reserved
Symbol name offset FL4 The offset from the beginning of this record to the symbol name.
Symbol name length FL4 Number of characters in the symbol name
Symbol name CL(n) The symbol name.
Note:

For record type "EQU" specified at  1 , where the "EQU" is for a relocatable value, the ESDID of the "EQU" is provided. Where the "EQU" is non-relocatable, the ESDID of the section in control is provided. The symbol flags can be checked to determine whether the "EQU" is relocatable or absolute.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014