External symbol record: X'0020'

The following table shows the contents of the external symbol record.

Table 1. SYSADATA external symbol record
Field Size Description
Section type XL1
X'00'
PROGRAM-ID name (main entry point name)
X'01'
ENTRY name (secondary entry point name)
X'02'
External reference (referenced external entry point)
X'04'
Not applicable for COBOL
X'05'
Not applicable for COBOL
X'06'
Not applicable for COBOL
X'0A'
Not applicable for COBOL
X'12'
Internal reference (referenced internal subprogram)
X'C0'
External class-name (OO COBOL class definition)
X'C1'
METHOD-ID name (OO COBOL method definition)
X'C6'
Method reference (OO COBOL method reference)
X'FF'
Not applicable for COBOL

Types X'12', X'C0', X'C1' and X'C6' are for COBOL only.

Flags XL1 Not applicable for COBOL
Reserved HL2 Reserved for future use
Symbol-ID FL4 Symbol-ID of program that contains the reference (only for types x'02' and x'12')
Line number FL4 Line number of statement that contains the reference (only for types x'02' and x'12')
Section length FL4 Not applicable for COBOL
LD ID FL4 Not applicable for COBOL
Reserved CL8 Reserved for future use
External name length HL2 Number of characters in the external name
Alias name length HL2 Not applicable for COBOL
External name CL(n) The external name
Alias section name CL(n) Not applicable for COBOL