COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-11
Temporary File Placement
NMCOBOL Compiler
The NMCOBOL compiler consists of a driver process, NMCOBOL, and a sequence of
subordinate processes.
For a successful compilation, the NMCOBOL compiler driver calls COBOLFE, UGEN,
and AS1 in turn, using temporary files to pass information between them. If you specify
the RUNNABLE or SEARCH directive when creating a non-PIC loadfile, the
NMCOBOL compiler also calls the nld utility. If you specify the RUNNABLE or
SEARCH directive when creating a PIC loadfile (CALL-SHARED) or a DLL library
(SHARED), the NMCOBOL compiler also calls the ld utility.
The symbol table information in the object file can be used later by the symbolic
debuggers.
Temporary File Placement
The COBOL85 and NMCOBOL compilers and their supporting processes create and
use temporary files. Default temporary file placement differs slightly for the two
compilers.
Topics:
•
COBOL85 Compiler
•
NMCOBOL Compiler
•
Specifying a Volume for Temporary Files
Figure 11-5. NMCOBOL Compilation of Single Program Unit (Non-PIC)
Copy
Libraries
COBOLFE
Source
Files
NMCOBOL
UGEN
Loadfile
AS1
nld
Linkfile
Listing
File
VST727.vsd