TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-75
SAVEGLOBALS Directive
SAVEGLOBALS Directive
SAVEGLOBALS saves all global data declarations in a file for use in subsequent
compilations that specify the USEGLOBALS directive.
file-name
is the name of a disk file to which the compiler is to write the global data
declarations.
If
file-name already exists, the compiler purges the existing file and creates an
unstructured global declarations file that has a file code of 105.
If the existing file is secured so that the compiler cannot purge it, the compilation
terminates.
You can specify partial file names as described in Appendix E in the
TAL Programmer’s
Guide. The compiler uses the current default volume and subvolume names as needed
and lists the complete file name in the trailer message at the end of compilation. For
this directive, the compiler does not use TACL ASSIGN SSV information to complete
the file name.
define-name
is the name of a TACL MAP DEFINE that refers to the disk file to which you want
the compiler to write the global data declarations.
assign-name
is a logical file name you have equated to the actual disk file (to which you want
the compiler to write the global data declarations) by issuing a TACL ASSIGN
command.
Usage Considerations
SAVEGLOBALS can appear in the compilation command or in the source code before
any global data declarations. If it appears anywhere else, the compiler issues a
warning message and ignores the directive.
VST1652.vsd
SAVEGLOBALS
assign-name
define-name
file-name