Compaq AAQ2G1FTK Marine Radio User Manual


 
Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration
B.9 Debugger Support Differences
B.9 Debugger Support Differences
Compaq COBOL debugger support differs in several ways from Compaq COBOL
for OpenVMS VAX:
Compaq COBOL issues the following informational message when the
/DEBUG qualifier is used on the COBOL command line with the default
optimization in effect:
%COBOL-I-DEBUGOPT, /NOOPTIMIZE is recommended with /DEBUG
You receive this message if you specify nothing about optimization when you
specify /DEBUG. (/OPTIMIZE is the default for the compiler.) Unlike other
informational messages, which are turned off by default, this message
is always allowed through by the Compaq COBOL compiler, even if
/WARN=NOINFO is in effect. To turn the message off, use any form of
the qualifier /[NO]OPTIMIZE on the COBOL command line (for example,
/NOOPTIMIZE or /OPTIMIZE or /OPTIMIZE=LEVEL=x).
Compaq COBOL for OpenVMS VAX does not have the /OPTIMIZE qualifier.
With Compaq COBOL, unlike Compaq COBOL for OpenVMS VAX, the
debugger sometimes changes underscores to hyphens and hyphens to
underscores in variable names.
This difference from Compaq COBOL for OpenVMS VAX can help you debug
a program. Because these messages are informational, the compiler produces
an object file, which you can link and execute. However, the messages may
point out otherwise undetected logic errors, as the structure of the program is
probably not what you intended.
B.10 DECset/LSE Support Differences
Compaq COBOL does not support the DECset/LSE Program Design Facility, the
/DESIGN qualifier, design comments, or pseudocode placeholders.
B.11 DBMS Support
On OpenVMS, Compaq COBOL support for Oracle DBMS has some differences
depending on your platform (specifically, whether you are developing programs
with Compaq COBOL on OpenVMS Alpha or with Compaq COBOL for OpenVMS
VAX).
B.11.1 Compiling on Tru64 UNIX and Windows NT
In Compaq COBOL for Windows NT or Tru64 UNIX, Oracle DBMS sub-schema
access (DML for Oracle DBMS) is not supported. Attempting to compile a
program containing any Oracle DBMS syntax results in the following diagnostic
message:
cobol: Severe: . . . DBMS Data Manipulation Language is not supported
Oracle DBMS syntax includes the following language elements: SUB-SCHEMA,
DB, DB-EXCEPTION, LD, COMMIT, CONNECT, ERASE, FETCH, FIND,
FREE, GET, KEEP, MODIFY, READY, RECONNECT, ROLLBACK, STORE,
RETAINING, WHERE, EMPTY, MEMBER, OWNER, and TENANT.
Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration B29