pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
file-name
is the name of the global declarations disk file created by SAVEGLOBALS in a previous
compilation.
On Guardian platforms, the compiler uses HP TACL ASSIGN SSV information, if specified, to
complete the file name; otherwise, the compiler uses the current default volume and subvolume
names as needed.
define-name
is the name of a MAP DEFINE that refers to the global declarations file.
NOTE: MAP DEFINEs are available only on Guardian platforms.
assign-name
is a logical file name you have equated to a disk file (that refers to the global declarations file)
by issuing an ASSIGN command.
NoneDefault:
Either in the compilation command or in the source code before any global
data declarations
Placement:
Applies to the compilation unitScope:
Dependencies:
• The compilation unit must have exactly one BEGINCOMPILATION directive.
• The compiler exports the data blocks declared in the USEGLOBALS
declarations file only if EXPORT_GLOBALS is active when the compiler
encounters the BEGINCOMPILATION directive.
• A module that specifies USEGLOBALS can export a global data block that
was declared in the compilation that specified SAVEGLOBALS only if the
SAVEGLOBALS compilation exported the data block.
Typically, a project that uses SAVEGLOBALS explicitly links globals into
the object file and specifies NOEXPORT_GLOBALS (the default) for all
individual compilations.
• Interacts with the directives referenced in the next row (see Saving and
Using Global Data Declarations (page 372))
References:
• BEGINCOMPILATION (page 382)
• EXPORT_GLOBALS (page 393)
• PRINTSYM (page 408)
• SAVEGLOBALS (page 413)
• SYMBOLS (page 421)
• SYNTAX (page 422)
WARN
WARN
prints specific (or all) warning messages in the compiler listing.
424 Compiler Directives