Compaq AAQ2G1FTK Marine Radio User Manual


 
Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration
B.4 Compaq COBOL and Compaq COBOL for OpenVMS VAX Behavior Differences
Compaq COBOL for OpenVMS VAX Listing File for REPLACE Statement
18 P0. REPLACE ==xyzpdqnothere==
19 BY ==nothere==.
20
21 copy "drep3hlib".
22LR display nothere.
1
%COBOL-F-ERROR 349, (1) Undefined name
B.4.2.7 DATE COMPILED Statement
The following two compiler listing files demonstrate the difference between using
the DATE-COMPILED statement with Compaq COBOL and Compaq COBOL for
OpenVMS VAX.
Compaq COBOL Listing File for DATE-COMPILED Statement
33 *
34 date-compiled
.............1
%COBOL-E-NODOT, (1) Missing period is assumed
34 date-compiled 16-Jul-1992.
35 security. none.
Compaq COBOL for OpenVMS VAX Listing File for DATE-COMPILED Statement
33 *
34 date-compiled 16-Jul-1992.
1
%COBOL-E-ERROR 65, (1) Missing period is assumed
35 security. none.
B.4.2.8 Compiler Listings and Separate Compilations (OpenVMS)
The /SEPARATE_COMPILATION qualifier produces distinct listings.
For separately compiled programs (SCP) compiled without /SEPARATE_
COMPILATION, the listings are as follows:
PROGRAM_1 source listing
PROGRAM_2 source listing
PROGRAM_3 source listing
PROGRAM_1 machine code listing
PROGRAM_2 machine code listing
PROGRAM_3 machine code listing
The /SEPARATE_COMPILATION result would be as follows:
PROGRAM_1 source listing
PROGRAM_1 machine code listing
PROGRAM_2 source listing
PROGRAM_2 machine code listing
PROGRAM_3 source listing
PROGRAM_3 machine code listing
Note that this is consistent with listings produced by Compaq COBOL for
OpenVMS VAX.
Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration B15