Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Compilation
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
7-3
Using Compiler-Generated Files
copy-library
is the name of an EDIT disk file. This file is used as the default library for source
code when expanding a COPY statement that does not include a specific library
name. copy-library has the form of a disk file name.
If this parameter is omitted, COPYLIB is used.
compiler-command
is any of the following compiler commands:
ANSI OPTION
COMPILE SHOWCOPY/NOSHOWCOPY
CROSSREF/NOCROSSREF SMAP/NOSMAP
ERRORS SYMBOLS/NOSYMBOLS
HEADING SETTOG
LINES SYNTAX
LIST/NOLIST TANDEM
MAP/NOMAP WARN/NOWARN
The following examples illustrate the command to run the SCREEN COBOL compiler:
SCOBOLX / IN MYSOURCE, OUT $S, NOWAIT / MPROG; MAP; &
CROSSREF ONLY LABELS; LIST
SCOBOLX / IN APROG /
Using Compiler-Generated Files
If the disk files do not exist, SCREEN COBOL creates them and stores object program
information in them. If the COD, DIR, and SYM files exist, SCREEN COBOL adds the
object program to those programs already present in the files. The addition is done in a
way that does not disrupt concurrent use of the file, even if the program ID of the object
program being added is the same as one already present. Thus, additions can be made to
object files while they are in use by a TCP.
When you refer to the object files in PATHCOM commands and SCUP, use the file
name root (without the COD, DIR, or SYM). When referring to the object files in
commands, use the actual names (including the COD, DIR, or SYM). The actual files
can be renamed or copied to another volume as long as the new file names are related in
the same way; that is, they must have the same root and be the same except that one
ends with COD, one ends with DIR, and one ends with SYM.
Using PARAM SAMECPU
The command interpreter SAMECPU parameter specifies running process SYMSERV
in the same CPU in which SCOBOLX and SCOBOLX2 run. Usually SYMSERV runs
in the CPU with the next higher number than that of the CPU in which SCOBOLX and
SCOBOLX2 are running. If there is no processor with a higher number, SYMSERV
runs in the processor with the lowest number.