contents.gifindex.gifprev1.gifnext1.gif

B.1 Limits and Ranges

ACUCOBOL-GT is an ANSI-85 COBOL compiler and runtime system (ANSI X3.23-1985). ANSI COBOL is divided into a series of required and optional modules, each of which has various levels of implementation. ACUCOBOL-GT conforms to the following levels for each of the required modules (range of levels in parentheses):

Nucleus (1-2)                        Level 2
Sequential I-O (1-2)                 Level 2
Relative I-O (0-2)                   Level 2
Indexed I-O (0-2)                    Level 2
Inter-Program Communication (1-2)    Level 2
Sort-Merge (0-1)                     Level 1
Source Text Manipulation (0-2)       Level 2
Segmentation (0-2)                   Level 1

ACUCOBOL-GT does not support the optional modules: Report Writer, Communication, or Debug.

The following sections summarize various extensions and limitations ACUCOBOL-GT has with respect to the standard.


ACUCOBOL-GT has the following limits:

Maximum Program Size: 1 MB code, 1 MB data (compilation unit) 1 GB data for large model

Maximum Program Size: Limited only by machine
(run unit) memory

Maximum Record Size: 32767 bytes

Number of Indexed Keys: Primary + 119 alternates

Number of Segments per Key: 16

Maximum Indexed Key Size: 250 bytes

Maximum Sort Key Size: 32767 bytes

Maximum Number Sort Keys: 255

Maximum duplicate keys: No limit

Maximum File Size: host system dependent;

   logical limit: 128 terabytes if Vision Version 4 is used;
    for all other file systems the logical limit is 2048 MB
Maximum Data Item Size:
    Alphanumeric: 65520 bytes*
    Numeric: 18 digits
    Edited: 255 bytes

Maximum size of an external data item: 64K (larger in large model)*

Maximum Table Indexes: 15

Maximum Open Files/Process: 255 (128 on MS-DOS)

Maximum Literal Size: 4096 characters

Maximum Paragraph Size: 32767 bytes

Maximum Pop-Up Windows: Limited only by machine memory

Maximum Picture String: 100 Characters

SPECIAL-NAMES Switches: 26

Maximum number of OCCURS: 65,280

Maximum nesting:

  IFs: limited by machine, least maximum=2720

  PERFORMS: No limit

  PERFORMS n times: No limit

  CALLS: No limit

  Recursive CALLS: 32767

Maximum number of data and procedure names: Limited only by machine memory

Maximum number of parameters in a CHAIN statement: 50

*For exceptions, see the Reference Manual, section 5.1.6 on "Large Data Handling."