The following table shows the maximum size of program divisions and sections.
Object
|
Maximum Size
|
Total
|
No limit
|
Data Division
|
256MB
|
Local-Storage Section
|
Platform specific
|
Procedure Division
|
816MB
|
Number of sections, paragraphs and labels in Procedure Division
|
65535 (64K)
|
COBOL segment
|
16MB
|