Skip to main content

Problem:

what is the max length of an 01 level?

Resolution:

Limits on the Size and Number of Data Items

The following table shows the maximum size and number of data items.

Data Item

Maximum Size or Number

______________________________________________________________

Alphanumeric/Group

256 Mbytes

Alphanumeric Edited/ &

Numeric Edited

Can consist of 32 parts,

          each of which can contain up to 16

          occurrences of a single edited character

           type subject to a total size of 512 bytes

Numeric

18 digits

COMP/COMP-5 format

8 bytes

EXTERNAL data item

No specifiable limit

ACCEPT FROM CONSOLE

Limits (if any) are imposed by the operating system.

ANSI DISPLAY

No limit, on this COBOL system:

Old KB# 3845