The following table shows the maximum size of program divisions and sections.
Object
|
Maximum Size
|
Total
|
No limit
|
Data Division
|
2GB-1 (Native COBOL), 4GB (Managed COBOL)
|
Local-Storage Section
|
Platform specific
|
Procedure Division
|
16MB per segment
|
Number of sections, paragraphs and labels in Procedure Division
|
65535 (64KB)
|