COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
$volume
is a dollar sign ($) immediately followed by one to seven alphanumeric characters. The first
alphanumeric character must be alphabetic. The $volume is the name of the volume on which
the temporary files are to be created.
The $volume must exist on the system on which the compiler resides. If the compiler cannot
create its first temporary file on the specified volume, compilation proceeds with temporary
files created as though no PARAM SWAPVOL command were active.
PARAM SYMBOL-BLOCKS
The PARAM SYMBOL-BLOCKS command specifies how much space the compiler allocates for its
symbol dictionary, local label table, and embedded SQL/MP or SQL/MX statements.
count
is an integer in the range 1 through 40, which affects space allocation. The default value of
count is 4.
Table 75 How the PARAM SYMBOL-BLOCKS Command Affects Space Allocation
Space Allocated for Item
DefaultWhen PARAM SYMBOL-BLOCKS
command is specified ...
Item
Four 256-KB blockscount 256-KB blocksSymbol dictionary
500 lines of SQL/MP text per statementcount times 500 lines times number
of embedded SQL/MP statements, plus
extra space for REPLACE statements
Embedded SQL/MP statements
If the default value for count produces a failure in compilation, increase it by one. If that still is
not enough, increase it by one more, and so on.
If the summary listing at the end of a compilation indicates that the maximum symbol table size is
less than 256 KB, you might be able to reduce the system resources required for later compilations
by specifying PARAM SYMBOL-BLOCKS 1.
Predefined SEARCH DEFINEs
The compiler recognizes two predefined DEFINEs with CLASS attribute SEARCH:
• =_SOURCE_SEARCH (page 529)
• =_OBJECT_SEARCH (page 529)
These allow you to specify one or more subvolumes for the compiler to search for unqualified
source text files and object files, respectively. (“Unqualified” means that the file name does not
contain a volume and subvolume.) If you use these predefined DEFINEs, you do not need to specify
DEFINEs in the compiler command or in the source text.
To add a predefined SEARCH DEFINE, use the ADD DEFINE command. For example:
ADD DEFINE =_SOURCE_SEARCH, CLASS SEARCH, SUBVOL0 (=_DEFAULTS,$VOL1.SUB2,$VOL1.SUB3)
In this example, the compiler is to search the default subvolume first, then $VOL1.SUB2, and finally
$VOL1.SUB3.
528 Program Compilation










