COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Compiler Input
The only required input to the compiler is:
• A source file containing the program text
• In some cases, compiler directives
The optional input is:
• One or more source library files from which the compiler can copy additional source text
specified in COPY statements or SOURCE directives
• One or more user-specified object files that contain object code explicitly called by the program
being compiled
• These COBOL external declarations files, which are used in resolving references to routines
in the system library:
ContentsFile
Operating system routines for the latest RVU of the operating systemECOBEX0
Operating system routines for the next-to-latest RVU of the operating systemECOBEX1
Operating system routines for the second-next-to-latest RVU of the operating systemECOBEXT
Utility routinesZCOBDLL
Utility routinesZCREDLL
Compiler Output
The output of the compiler is:
• A listing, including any compiler diagnostic messages (if the file for the listing is a disk file,
the compiler creates an EDIT file unless the file already exists)
• An object file, if no compilation errors occurred
The ECOBOL compiler produces either:
• A loadfile
• A linkfile
• A dynamic-link library (DLL)
For information about the COBOL85 and NMCOBOL compilers, see the COBOL Manual for TNS
and TNS/R Programs.
Combining Separately Compiled Source Programs
You can compile several source files separately and then use the eld utility to combine their object
code files into a single loadfile (see the eld Manual for more information). In the Guardian
environment, a loadfile can contain object code from these compilers:
LanguageCompiler
HP COBOLECOBOL
HP CCCOMP
HP C++CPPCOMP
pTALEpTAL
Compiler Input 41










