COBOL Manual for TNS and TNS/R Programs

Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS and TNS/R Programs522555-006
22-21
Changing the Compilation Environment
If you have given the command PARAM SAMECPU and decide that you do not want it,
you can clear it with the CLEAR command before running the compiler; for example:
91> PARAM SAMECPU 7
92> CLEAR PARAM SAMECPU
93> COBOL85 /IN XYZ, OUT $SPX/ XYZOBJ
Volume(s) for Temporary Files
By default, the COBOL85 compiler creates its temporary files on the current default
volume. The BINSERV and SYMSERV processes create their temporary files on the
volume where the target file is located, unless that volume is on another node. If the
volume is on another node, the BINSERV and SYMSERV processes create their
temporary files on the current default volume of the node on which they execute. For
example, suppose you are executing on \MYSYS and your default volume is $CURR. If
you execute the command:
COBOL85 /IN MYSRC, OUT $S.#MYLST/ \ALIEN.$FAR.XX.MYOBJ
the BINSERV and SYMSERV processes use $CURR for any temporary files, instead
of using volume $FAR on system \ALIEN.
By default, the NMCOBOL compiler creates its temporary files on the current default
volume. If called by the NMCOBOL compiler, the processes COBOLFE, UGEN, and
AS1 and the linker create their temporary files on the current default volume.
The PARAM SWAPVOL command specifies the volume on which the compiler and its
processes will create temporary files (if possible). It does not determine where the
operating system creates the compilers own swap file—the Kernel-Managed Swap
Facility (KMSF) does that. For more information, see the Kernel-Managed Swap
Facility (KMSF) Manual.
If you have given the command PARAM SWAPVOL and decide that you do not want it,
you can clear it with the CLEAR command before running the compiler; for example:
94> PARAM SWAPVOL $COBVOL
95> CLEAR PARAM SWAPVOL
96> COBOL85 /IN XYZ, OUT $SPX/ XYZOBJ
Compiler Space Allocation
The PARAM SYMBOL-BLOCKS command specifies how much space the compiler
allocates for its symbol dictionary, embedded SQL/MP statements, and for the
COBOL85 compiler, its local label table—see PARAM SYMBOL-BLOCKS.
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> COBOL85 /IN XYZ, OUT $SPX/ XYZOBJ