COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
94> PARAM SWAPVOL $COBVOL
95> CLEAR PARAM SWAPVOL
96> ECOBOL /IN XYZ, OUT $SPX/ XYZOBJ
Compiler Space Allocation
The PARAM SYMBOL-BLOCKS command specifies how much space the compiler allocates for its
symbol dictionary and embedded SQL/MP statements—see PARAM SYMBOL-BLOCKS (page 528).
If you have given the command PARAM SYMBOL-BLOCKS and decide that you do not want it,
you can clear it before running the compiler with the CLEAR command; for example:
98> PARAM SYMBOL-BLOCKS 1
99> CLEAR PARAM SYMBOL-BLOCKS
100> ECOBOL /IN XYZ, OUT $SPX/ XYZOBJ
If you have given several PARAM commands, you can clear all of them before running the compiler
with the command CLEAR ALL PARAM; for example:
101> PARAM SAMECPU 7
102> PARAM SWAPVOL $COBVOL
103> PARAM SYMBOL-BLOCKS 1
104> CLEAR ALL PARAM
105> ECOBOL /IN XYZ, OUT $SPX/ XYZOBJ
Improving Compilation Speed
Under these conditions, these actions can improve compilation speed:
ActionCondition
Use the PARAM SYMBOL-BLOCKS command (see Compiler
Space Allocation).
The compilation summary shows that the maximum symbol
table size is less than 256 KB
Use the SYNTAX directive (see Specifying Compiler
Directives).
You only want the compiler to check the program’s syntax
(not generate object code).
Launching Compilations to Run Unattended
You can launch a compilation to run unattended with NetBatch, a job management system. For
details, see the NetBatch Manual.
Using COPY and SOURCE Libraries
A COPY or SOURCE library is an EDIT file that contains one or more blocks of text. Each block is
preceded by a SECTION directive that specifies its name and (optionally) its reference format
(ANSI or Tandem, the default being Tandem). The section name in the SECTION directive is the
one to use in a COPY statement or SOURCE directive.
Using COPY and SOURCE Libraries 757










