Size of Names, Literals and PICTURE Character Strings

Language elements are limited to the following sizes:

Language Element Maximum Size
Alphanumeric literal values 8192 bytes
PICTURE character string 30 characters
PICTURE replication

(for example, n in PIC X(n))

4GB
Program-Id name 127 bytes
Entry point names 127 bytes
Programmer defined words 127 bytes
External filenames

(for program source and object files, copybooks, data files)

265 characters
Dynamically loadable program names 265 characters