Developing Compaq COBOL Programs
1.3 Developing Programs on OpenVMS Alpha
1.3.2.4 Separately Compiled Programs
If a compilation unit consists of multiple separately compiled programs (SCPs),
by default the Compaq COBOL compiler produces a single object file that consists
of a single module with multiple embedded procedures. This object file can be
inserted into an object library. If your build procedure requires that the linker
extract any part of the module, the linker must extract the entire object.
If you use /SEPARATE_COMPILATION on the compile command line Compaq
COBOL will compile multiple SCPs into a single object file that consists of a
concatenation of modules, each containing a single procedure. This object may
then be inserted into an object library from which the linker can extract just the
procedures that are specifically needed.
1.3.2.5 COBOL Qualifiers
COBOL options (also known as qualifiers or flags) control the way in which the
compiler processes a file. You can process your file with the COBOL command
alone or you can select options that offer you alternatives for developing,
debugging, and documenting programs.
If you compile parts of your program (compilation units) using multiple COBOL
commands, options that affect the execution of the program should be used
consistently for all compilations, especially if data will be shared or passed
between procedures.
Table 1–4 lists the COBOL command options and their defaults. For more
information about COBOL options, invoke online help for COBOL at the system
prompt.
Note
Brackets ( [ ] ) indicate that the enclosed item is optional. If you specify
more than one option for a single qualifier, you must separate each option
with a comma and enclose the list of options in parentheses.
Developing Compaq COBOL Programs 1–31
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......