File Handling - Run-time Limits

You should be aware that run-time limits may be lower than those imposed by the COBOL Compiler.

File sizes (number of records)

All file organizations No specifiable limit; depends on record size and file size

Index keys (numbers)

Records added with the same duplicate key value in:  
  IDXFORMAT 3 and C-ISAM 65,535
  With IDXFORMAT"4", IDXFORMAT"8", or IDXFORMAT"12" directive 4,294,967,297
Components in a split key: With IDXFORMAT"4", IDXFORMAT"8", or IDXFORMAT"12" directive
  (using Micro Focus format file) 62
  (using C-ISAM format file) 8

Record sizes

All file types 62 KB
IDXFORMAT 9 4080 bytes
All other file types 62 Kbytes
Note:

IDXFORMAT 9 files have a single primary key without duplicates.

Sort keys

Sort key size 4096
Number of sort keys 64