HP 3000 Manuals

COBOL System Limits [ Micro Focus COBOL System Reference, Volume 2 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 2

COBOL System Limits 

This section lists the maximum size of various parameters used in this
COBOL system.  The left-hand column gives the affected parameter, and the
right-hand column notes the maximum value allowable in the indicated unit
of measure.

Data Division 

Size                         256 Mbytes

Data items length.   

Alphanumeric                 256 Mbytes

Alphanumeric Edited/         Consist of 32 parts, each of which can
Numeric Edited               contain up to 16 occurrences of a single
                             edited character type

Numeric                      18 digits

ANSI ACCEPT                  103 characters

ANSI DISPLAY                 No limit

Full screen DISPLAY          One screen less one character (the last
                             character position on the screen is not
                             usable)

Full screen ACCEPT           One screen less one character (the last
                             character position on the screen is not
                             usable)

Data- and.   

procedure-names

Number                       64 Kbytes

External data item.   

Size                         64 Kbytes

File sizes .   

Sequential file              No limit

Line sequential file         No limit

Relative file                No limit

Indexed sequential file      No limit

If record locking is used:

Relative file                No limit

Sequential file              No limit

Indexed sequential file      No limit

File sizes.   

Sequential file              Depends on record size and file size

Line sequential file         Depends on record size and file size

Relative file and file size  Depends on record size

Indexed sequential file      Any

Files open simultaneously.   

Sequential files/ Line       255 or your operating system limit,
Sequential files             whichever is the smaller

Relative files/ Indexed      128 or half your operating system limit,
sequential files             whichever is the smaller

Index keys.   

Per file (including          255
split-key components)

Length of any one key        1016
(bytes) (performance best
below 512)

Number of records            64 Kbytes
containing the same
duplicate key value

Number of components in a    62
split key

Number of components in a    8
split key in a C-ISAM file

Number of alternate keys:

(using COBOL syntax)         63

(with Extfh interface)       254

Length of.   

Program-ID name              30 characters

Programmer defined words     30 characters

Path names                   100 characters

File-names (including        100 characters or system limit, whichever is
program source your          the smaller.
operating files, COPY-file
names and .ext file-names)

Literals                     160 bytes

Entry point names            30 characters

Dynamically loadable         100 characters or your system limit,
program names                whichever is the smaller.  The first 30
                             characters must be unique.

Contents of DD _environment  Up to the maximum operating system size for
variables                    each path

MERGE file-name GIVING/USING phrase.   

Number of files in phrase    10

Nesting.   

IFs (compiled code only)     255

PERFORM statements in .int   100
programs

PERFORM statements in .gnt   No limit other than the size of the system
programs                     stack

PERFORM n times              22

Number of.   

Arguments in a CALL          255
statement

USING parameters per entry   255
point

Literals                     No limit

Records in a file (all file  No limit
types)

Record locks                 Operating system dependent

File locks                   Operating system dependent

OCCURS in Screen Section.   

This is limited by the number of fields and/or the levels of occurrence.
It is not possible to give an actual limit, but exceeding the limit will
result in an error when you compile your program.

Procedure Division (bytes) 

Size per COBOL segment (up   16 Mbytes
to 50 segments plus root
segment)

Program .   

Size                         No limit

Record sizes.   

                         Fixed  Variable 

Sequential files         65526  65526

Line sequential files    65526  N/A

Relative files           65526  65526

Indexed files            32767  65526

Sort keys.   

Sort key size:

(with RTS)                   1016

(with Extsm)                 1016

Number of sort keys          25

Table dimensions.   

number of subscripts         16



MPE/iX 5.0 Documentation