TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-90
Usage Considerations
Usage Considerations
SYMBOLPAGES can appear only in the compilation command, not in the source code.
SYMBOLPAGES sets the size of the compiler’s internal symbol table, which resides in
the automatic extended data segment. The compiler uses the symbol table as a
temporary storage area, for example, when processing variables and SQL statements.
For more information on SQL, see the
NonStop SQL Programming Manual for TAL.
If the symbol table overflows, the compiler issues error 57 (symbol table overflow). Use
SYMBOLPAGES to specify a larger table size.
Example of SYMBOLPAGES Directive
This compilation command starts the compiler and sets the size of the compiler’s
internal symbol table at 4096 memory pages:
TAL /IN mysrc, OUT $s.#lists/ myobj; SYMBOLPAGES 4096
SYMBOLS Directive
SYMBOLS saves symbols in a symbol table (for Inspect symbolic debugging) in the
object file.
The default is NOSYMBOLS.
Usage Considerations
This directive can appear in the compilation command or anywhere in the source code.
SYMBOLS turns the symbol-saving attribute on for subsequent code.
NOSYMBOLS turns the symbol-saving attribute off for subsequent code.
Saving Symbols
Normally you save symbols for the entire compilation by specifying SYMBOLS once at
the beginning of the compilation unit. The symbol table then contains all the symbols
generated by the source code.
Alternatively, you can save symbols for specific procedures and global data blocks,
although this is not the common practice. If you save symbols for a specific procedure
or data block and a referral structure in that procedure or data block references a
VST1661.vsd
NOSYMBOLS
SYMBOLS