COBOL Manual for TNS/E Programs (H06.03+)

Program Compilation
HP COBOL Manual for TNS/E Programs520347-003
11-7
Compilation Details
Compilation Details
Processes Involved in Compilation
Temporary File Placement
CALL and ENTER Statement Processing: Overview
CALL and ENTER Statement Processing: Detailed Explanation
#RECEIVE Blocks
Processes Involved in Compilation
The ECOBOL compiler consists of a driver process, ECOBOL, and a sequence of
subordinate processes.
For a successful compilation, the ECOBOL compiler driver calls ECOBFE, using
temporary files to pass information between them. If you specify the RUNNABLE or
SEARCH directive when creating a loadfile (CALL-SHARED) or a DLL library
(SHARED), the ECOBOL compiler also calls the eld utility.
The symbol table information in the object file can be used later by the symbolic
debuggers.
Example 11-3. Calling Programs That Are in a Separate File
PROGRAM-ID. CALLER.
...
SPECIAL-NAMES.
FILE "$MYVOL.MYSUB.COBJECT" IS C-ARCHIVE.
...
CALL "CPGM1" IN C-ARCHIVE
...
CALL "CPGM2" IN C-ARCHIVE