Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration
B.3 Command-Line Qualifiers (Options or Flags)
Table B–4 (Cont.) Compaq COBOL for OpenVMS VAX Specific Qualifiers
Qualifier
Comments
/WARNINGS=STANDARD
Produces informational messages on language
features that are Compaq extensions. The Compaq
COBOL equivalent is the /STANDARD=SYNTAX
qualifier or the
-std syntax
flag.
/STANDARD=V3, -std v3
Compaq COBOL does not support a number of features supported by the Compaq
COBOL for OpenVMS VAX implementation of the /STANDARD=V3 qualifier and
the
-std v3
flag:
•
When subscripts are evaluated in STRING, UNSTRING, and INSPECT
(Format 3) statements and the REMAINDER phrase of the DIVIDE
statement
•
When reference modification is evaluated in STRING, UNSTRING, and
INSPECT (Format 3) statements
•
When an out-of-range expression specifying the starting position or length
of reference modification is detected; Compaq COBOL on Alpha detects the
out of range at run time (if /CHECK=BOUNDS is used), whereas Compaq
COBOL for OpenVMS VAX in some cases detects the out of range at compile
time
•
When the variable associated with the VARYING phrase is augmented in
PERFORM . . . VARYING . . . AFTER statements (Format 4)
•
How PIC P digits are interpreted in some moves
•
When the size of variable-length tables (OCCURS DEPENDING ON) is
determined in the MOVE statement
The /WARNINGS=ALL qualifier and
-warn all
flag can help you determine
the effects of /STANDARD=V3 and
-std v3
; in particular, Compaq COBOL will
generate the following informational messages if /STANDARD=V3 or
-std v3
has
been specified:
•
For items that may be affected by evaluation order in the INSPECT, STRING,
UNSTRING, and DIVIDE statements:
/STANDARD=V3 evaluation order not supported for this construct
•
For destinations where OCCURS DEPENDING ON requires different
behavior in the MOVE statement:
/STANDARD=V3 variable length item rules not supported for this construct
For full information on the Compaq COBOL for OpenVMS VAX implementation of
the /STANDARD=V3 qualifier, see the appendix on qualifiers in the VAX COBOL
User Manual.
/STANDARD=OPENVMS_AXP
Compaq COBOL for OpenVMS VAX Version 5.1 (and higher) provides a flagging
system, via the /STANDARD=OPENVMS_AXP qualifier option, to identify
language features in your existing Compaq COBOL for OpenVMS VAX programs
that are not available in Compaq COBOL on the OpenVMS Alpha system. (There
may be additional language features not available on Windows NT and the Tru64
UNIX system.)
Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration B–9
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......