COBOL Manual for TNS and TNS/R Programs

Introduction
HP COBOL Manual for TNS/E Programs520347-003
1-7
Combining Separately Compiled Source Programs
Combining Separately Compiled Source
Programs
You can compile several source files separately and then combine their object code
files into a single loadfile . The method you use depends on mode and operating
environment, as this table shows:
In the Guardian environment:
You can combine multiple object files into a single loadfile only if the multiple object
files are either all TNS object files or all TNS/R native object files. You cannot combine
TNS object files and TNS/R object files into a single loadfile.
Mode
Operating
Environment Object Code Method For more information, see ...
TNS Guardian Non-PIC Binder object-
file builder
Binder Manual
OSS Non-PIC cobol utility Mixed-Language Programs
Native Guardian or
OSS
Non-PIC nld utility nld Manual
PIC ld utility ld Manual
Loadfile Can contain object code from these compilers:
TNS
COBOL85
HP C
TAL
Pascal
TNS/R
NMCOBOL
Native HP C
Native HP C++
pTAL