TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-77
Usage Considerations
Retrieving Global Data Declarations
After a SAVEGLOBALS compilation completes successfully, you can specify the
following directives in a USEGLOBALS compilation to retrieve the global data
declarations and initializations:
Specify BEGINCOMPILATION after the last global declaration or SEARCH directive
and before the first procedure declaration.
Effect of Other Directives
When you use the following directives in the SAVEGLOBALS compilation, they affect
subsequent USEGLOBALS compilations as follows:
Directive in
USEGLOBALS
Compilation Effect in Same USEGLOBALS Compilation
USEGLOBALS Retrieves global data declarations; suppresses
compilation of text lines and SOURCE directives (but not
other directives) until BEGINCOMPILATION appears
SEARCH Retrieves global initializations and template structure
declarations
BEGINCOMPILATION Begins compilation of text lines and SOURCE directives
Directive in
USEGLOBALS
Compilation Effect in Subsequent USEGLOBALS Compilations
SYNTAX Negates the need for using SEARCH in the
USEGLOBALS compilation because no object file was
produced by the SAVEGLOBALS compilation
INHIBITXX Continues to inhibit generation of extended indexed
instructions for extended pointers located in the first 64
words of primary global area
INT32INDEX Continues to generate INT(32) indexes from INT indexes
(D-series system only)
PRINTSYM Continues to print symbols in the listing
SYMBOLS Continues to make symbols available for all data blocks
that had symbols during the SAVEGLOBALS compilation