HP OpenVMS Systems Documentation |
HP COBOL
|
Previous | Contents | Index |
Table B-3 lists the command-line qualifiers and flags for features specific to HP COBOL on Alpha and I64 and not available on VAX.
OpenVMS Alpha and I64 Qualifier | Tru64 UNIX Flag |
---|---|
/ALIGNMENT | -align |
/ARCHITECTURE= keyword | -arch keyword |
/ARITHMETIC=NATIVE | -arithmetic native |
/ARITHMETIC=STANDARD | -arithmetic standard |
No equivalent qualifier | -c |
No equivalent qualifier | -call_shared |
/CHECK=DECIMAL | -check decimal |
/CONVERT=LEADING_BLANKS | -convert leading_blanks |
No equivalent qualifier | -cord |
No equivalent qualifier | -D num |
/DISPLAY_FORMATTED | -display_formatted |
No equivalent qualifier | -feedback file |
/FLOAT=D_FLOAT (Alpha default) | No equivalent flag |
/FLOAT=G_FLOAT | No equivalent flag |
/FLOAT=IEEE_FLOAT (I64 default) | No equivalent flag |
/GRANULARITY= keyword | -granularity keyword |
/INCLUDE | -include |
No equivalent qualifier | -K |
No equivalent qualifier | -L |
No equivalent qualifier | -L dir |
No equivalent qualifier | -l string |
/MATH_INTERMEDIATE=CIT3 | -math_intermediate cit3 |
/MATH_INTERMEDIATE=CIT4 | -math_intermediate cit4 |
/MATH_INTERMEDIATE=FLOAT | -math_intermediate float |
No equivalent qualifier | -names as_is |
No equivalent qualifier | -names lowercase |
No equivalent qualifier | -names uppercase |
No equivalent qualifier | -nolocking |
No equivalent qualifier | -non_shared |
/OPTIMIZE=LEVEL= n | -O n |
No equivalent qualifier | -p[ n] |
No equivalent qualifier | -relax_key_checking |
/RESERVED_WORDS=[NO]200X | -rsv [no]200x |
/RESERVED_WORDS=[NO]FOREIGN_EXTENSIONS | -rsv [no]foreign_extensions |
/RESERVED_WORDS=[NO]XOPEN | -rsv [no]xopen |
No equivalent qualifier | -shared |
No equivalent qualifier | -T [ num] |
No equivalent qualifier | -taso |
/TIE | No equivalent flag |
No equivalent qualifier | -tps |
/OPTIMIZE=TUNE= keyword | -tune keyword |
No equivalent qualifier | -V |
No equivalent qualifier | -v |
No equivalent qualifier | -xref , -xref_stdout |
/ALIGNMENT=PADDING, -align padding
The HP OpenVMS Calling Standard requires that data fields be aligned on specific addresses (shown in those standards). The same standards specify that the lengths of all data records and group data items must be multiples of their alignments.
If /ALIGNMENT=PADDING or
-align padding
is present on the compile command line, COBOL group data-items
will be aligned on their natural boundaries and those group items will
be padded out to multiples of their alignments. Refer to the
HP COBOL Reference Manual for detailed information about elementary data item
alignment with Alpha alignment and padding in effect.
B.3.3 Qualifiers Only on HP COBOL for OpenVMS VAX
Table B-4 lists the command-line qualifiers and qualifier-option combinations that are specific to HP COBOL on VAX. Except as noted, these qualifiers have no equivalents on Alpha or I64 systems.
Qualifier | Comments |
---|---|
/DESIGN | Controls whether the compiler processes the input file as a detailed design. |
/INSTRUCTION_SET[=option] | Improves run-time performance on single-chip VAX processors, using different portions of the VAX instruction set. |
/STANDARD=OPENVMS_AXP | Produces informational messages on language features that are not supported by the HP COBOL compiler on Alpha or I64. (See the section on /STANDARD=OPENVMS_AXP in this appendix, and refer to the HP COBOL for OpenVMS VAX release notes.) |
/STANDARD=PDP11 | Produces informational messages on language features that are not supported by the COBOL-81 compiler. |
/WARNINGS=STANDARD | Produces informational messages on language features that are HP extensions. The HP COBOL equivalent on Alpha and I64 is the /STANDARD=SYNTAX qualifier or the -std syntax flag. |
HP COBOL on Alpha and I64 does not support a number of features supported by the implementation of the /STANDARD=V3 qualifier on VAX, as follows:
The /WARNINGS=ALL qualifier or the -warn all flag can help you determine the effects of /STANDARD=V3 and -std v3 ; in particular, the HP COBOL compiler on Alpha and I64 will generate the following informational messages if /STANDARD=V3 or -std v3 has been specified: