Previous Topic Next topic Print topic


Introduction to the cob command

The cob command enables you to produce executable files of the following types:

Intermediate code

.int files are dynamically loadable, and don't need to be linked into a system executable.

Generated code

.gnt files are dynamically loadable, and don't need to be linked into a system executable.

Callable shared object files
These files are dynamically loadable, and don't need to be linked into a system executable (applies to UNIX environments only).
Shared library files
These are system linkable files that can be linked into executable files (applies to UNIX environments only). They cannot be directly executed themselves.
System executable files
These files are directly executable (applies to UNIX environments only). They are loaded by the operating system, which creates a new process in which to run them.

The cob command provides the interface between your COBOL source program and the following COBOL system components:

It also provides an interface to the C++ compiler, cc (the C compiler) and as (the Assembler).

Previous Topic Next topic Print topic