A compiler implementation specifications, Compiler implementation specifications – Compaq COBOL AAQ2G1FTK User Manual

Page 531

Advertising
background image

A

Compiler Implementation Specifications

The following list summarizes the specifications and restrictions for the Compaq
COBOL compiler. The compiler issues diagnostic messages whenever you exceed
its design parameters.

Run-time storage (generated object code and data) for COBOL programs
cannot exceed 2,147,483,647 bytes.

The length of an FD’s record cannot exceed 32,767 bytes for a sequential file,
32,234 bytes for an indexed file, or 32,255 bytes for a relative file. For SD
records, the length cannot exceed 32,759 bytes for a sequential file, 32,226
bytes for an indexed file, or 32,247 bytes for a relative file.

On OpenVMS, bucket size for relative and indexed files cannot be greater
than 63.

A sequential disk file’s multiblock count cannot be greater than 127.

The physical block size for a sequential tape file must be from 20 to 65,532
bytes, inclusively.

Run-time storage for an indexed file’s RECORD KEY or ALTERNATE
RECORD KEY data item must not be greater than:

255 bytes on OpenVMS Alpha systems

120 bytes on Tru64 UNIX systems

128 bytes on Windows NT systems

The number of bytes in the string making up a VALUE OF ID file name or
data name must not exceed 255.

The number of indexed file RECORD KEY and ALTERNATE RECORD KEY
data items must not exceed 255 per file.

The maximum number of segments in a segmented key is eight.

The number of literal phrases specified to define an alphabet in an
ALPHABET clause of the SPECIAL-NAMES paragraph must not be greater
than 256.

The value of a numeric literal in a literal phrase of an ALPHABET clause
must not be greater than 255.

The value of a switch number in the SWITCH clause of the SPECIAL-NAMES
paragraph must be from 1 to 16, inclusively.

The value of a numeric literal in the SYMBOLIC CHARACTERS clause must
be from 1 to 256, inclusively.

On OpenVMS, the value of an integer in the EXTENSION option of the
APPLY clause must be from 0 to 65,535, inclusive.

Compiler Implementation Specifications A–1

Advertising