Returns information about known symbols.
>>-EXTract--SYMbols--+-------------+---------------------------><
'-module-name-'
- module-name
- A module name.
Specifies which module's symbols should be returned.
If omitted, returns the symbols for the currently qualified module.
REXX variables set
- SYMBOL.0
- The number of symbols known to IDF.
Information about individual symbols is returned in SYMBOL.1 to
SYMBOL.nnn
- SYMBOL.n
- Information about one symbol known to IDF.
Each REXX variable containing information about a symbol known to
IDF will contain the following information:
(<module.>csect ) symbol reloc addr totlen intext full type
The fields returned have these meanings:
- module
- The name of the module within which the symbol occurs
- Present if the FULLQUAL option is ON
- Is followed by a period
- csect
- The name of the code section within which the symbol occurs.
- symbol
- The name of the actual symbol.
- reloc
- The offset of the symbol within the specified CSECT (hex).
- addr
- The offset of the symbol within the target module (hex).
- totlen
- The total length associated with the symbol (hex).
- intext
- One character, either "I" or "E":
- I
- The symbol is an internal symbol.
- E
- The symbol is externally known.
- full
- One character, either "F" or "U":
- F
- The symbol is fully defined.
- U
- The symbol is not fully defined; this may occur if no
information is available to define the start of the CSECT within which
the symbol occurs.
- type
- This is a 2-digit hex value which describes the type of symbol, and
is one of:
- 00
- Space
- 01
- CSECT
- 02
- DSECT
- 03
- COMMON
- 04
- Machine Instruction
- 05
- CCW
- 06
- EQU, LTORG, CNOP, ORG
- 10
- C-con
- 14
- X-con
- 18
- B-con
- 20
- F-con
- 24
- H-con
- 28
- E-con
- 2C
- D-con
- 30
- A/Q-con
- 34
- Y-con
- 38
- S-con
- 3C
- V-con
- 40
- P-con
- 44
- Z-con
- 48
- L-con
- FE
- Self-defining, addr is actual value
- FF
- Unknown, no symbol type available