B.2 differences in extensions and other features, Arch, Arithmetic – Compaq COBOL AAQ2G1FTK User Manual

Page 537: Convert leading_blanks, Display_formatted

Advertising
background image

Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration

B.1 Compatibility Matrix

Table B–1 (Cont.) Cross-Platform Compatibility of COBOL Features

OpenVMS
VAX

OpenVMS
Alpha

Tru64
UNIX

Windows NT
Alpha

VAX compatible alignment

p

p

p

p

Alpha natural alignment / padding

N

p

p

p

Targetted code generation / optimization

p

p

p

p

/[NO]SEPARATE_COMPILATION

P

p

N

N

I18N (PIC N, etc.)

p

p

p

p

CALL USING BY DESCRIPTOR

p

p

N

N

cobfunc, cobcall, and cobcancel

N

p

p

p

Reformat

p

p

p

p

Terminal source format

p

p

p

p

Lowercase, -/_ in source

p

p

p

p

Sample Application - Client/Server

N

N

N

p

Sample Applications - Visual Basic calling
COBOL

N

N

N

p

Oracle CDD/DML support

p

p

N

N

Transarc Encina (-tps) support

N

N

p

N

DECset PCA,LSE/SCA support

p

p

N

N

DECset PDF support

p

N

N

N

FUSE support

N

N

p

N

Interactive compiler driver

N

N

N

p

Symbolic debugger support

p

p

p

p

B.2 Differences in Extensions and Other Features

Compaq COBOL contains the following language extensions and other features
that are not in Compaq COBOL for OpenVMS VAX:

A choice of alignment (with the /ALIGNMENT qualifier) on the compile
command line or as a source directive for individual records; you can select
Alpha data alignment to optimize performance or Compaq COBOL for
OpenVMS VAX data alignment for compatibility with Compaq COBOL for
OpenVMS VAX.

A flag or qualifier (/ARCHITECTURE or

-arch

) that enhances performance

through targeted code generation.

A flag or qualifier (/ARITHMETIC or

-arithmetic

) that selects native or

standard arithmetic.

A flag or qualifier (/CONVERT=LEADING_BLANKS or

-convert

leading_blanks

) that changes all blanks to zeros in numeric display

items in arithmetic expressions or statements.

A flag or qualifier (/DISPLAY_FORMATTED or

-display_formatted

) that

causes the proper display of numeric values without the use of WITH
CONVERSION on the DISPLAY statement.

Compaq COBOL for OpenVMS VAX and Compaq COBOL Compatibility and Migration B–3

Advertising