Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Introduction to SCREEN COBOL
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
1-9
Generating Object Files With the Compiler
To execute a SCREEN COBOL program, the directory and code files must be available
to the TCP. The symbol-table file is required when INSPECT is used for program
debugging. In addition to generating object code, the compiler builds a SCREEN
COBOL library. Each time the compiler successfully compiles a source program, the
compiler adds the new version of the object file to the previously compiled versions.
The compiler, however, has no features for managing the object files.
Figure 1-5
illustrates the generating of SCREEN COBOL object files. In this figure,
input to the compiler includes the program source code and code copied from a screen
library file. The compiler output includes three object files (code, directory, and symbol
table) and a listing that can include a compilation listing, a cross-reference listing, and a
map.
Figure 1-5. Generating SCREEN COBOL Object Files
Note. In earlier releases, the version of the TCP under which a SCREEN COBOL program
was executed had to be the same or later than that of the SCREEN COBOL compiler under
which the program was compiled. For D40 and later releases, the version of the TCP under
which a SCREEN COBOL program is executed can also be earlier than that of the SCREEN
COBOL compiler unless it uses newer incompatible features, in which case the program will be
assigned the version corresponding to the latest feature used. For example, you can now use
a C31 TCP with a SCREEN COBOL program compiled under a D40 compiler provided the
SCREEN COBOL program does not use any new incompatible features. New data structures,
new statements, and new versions of statements are often generated by a given release of the
compiler. These enhancements can be processed only by a TCP of the same or a later
release.
005CDT .CDD
Symbol
Table
Directory
SCREEN
COBOL
Object Code
SCREEN
COBOL
Source
SCREEN
COBOL
Source
Library
of screen
definitions
Program unit
SCOBOLX
SCOBOLX2
SYMSERV
Listing
Copies screen
definitions into
program unit
SCREEN
COBOL
Compiler