Problem:
Resolution:
File Size Limits:
-----------------
For line sequential, record sequential, and relative files:
-----------------------------------------------------------
With FILEMAXSIZE not set, or FILEMAXSIZE=4:
--- Open shared: 1 GiB
--- Open exclusive: 4 GiB
With FILEMAXSIZE=8:
--- Open shared: 4 EiB
--- Open exclusive: 8 EiB
Where GiB means gibibyte = 2^30 bytes = 1,073,741,824 bytes
For an explanation of "gibibyte", see: http://en.wikipedia.org/wiki/Gibibyte
and where EiB means exbibyte = 2^60 bytes = 1,152,921,504,606,846,976 bytes
For indexed files:
----------------------------------
For IDXFORMAT types 1, 2, 3, and 4, regardless of FILEMAXSIZE:
--- Open shared: 1 GiB
--- Open exclusive with Duplicate Key Compression: 2 GiB
--- Open exclusive: 4 GiB
For IDXFORMAT 8:
--- With FILEMAXSIZE not set, or FILEMAXSIZE=4:
------ Open shared: 1 GiB
------ Open exclusive with Duplicate Key Compression: 2 GiB
------ Open exclusive: 4 GiB
--- With FILEMAXSIZE=8:
------ Open shared: 256 TiB
------ Open exclusive with Duplicate Key Compression: 128 TiB
------ Open exclusive: 256 TiB
--- With FILEMAXSIZE=8 and FILEPOINTERSIZE=8
------ Open shared: 4 EiB
------ Open exclusive with Duplicate Key Compression: 8 EiB
------ Open exclusive: 16 EiB
Where GiB means gibibyte = 2^30 bytes = 1,073,741,824 bytes
and where TiB means tebibyte = 2^40 bytes = 1,099,511,627,776 bytes
and where EiB means exbibyte = 2^60 bytes = 1,152,921,504,606,846,976 bytes
----------------------------------
Notes: FILEMAXSIZE is a file handler option, specified in a file named "extfh.cfg", or a file pointed to by the EXTFH environment variable. For more information, look up "FILEMAXSIZE" in the index of the documentation.
Warning: do not set FILEMAXSIZE to 8 under any of the following circumstances:
-- You are running applications on an operating system which does not support a 64-bit file system.
-- You are running applications that access FAT file systems, since such file systems do not support file addressibility greater than 32-bit file addressing.
-- If any accessing program needs to access a shared file in a 32-bit file system.
-- You are sharing files with applications using earlier versions of the Micro Focus COBOL product that only supported 32-bit file access.
-- All applications accessing a file must run with the File Handler configured with the same value for FILEMAXSIZE. If you access a file simultaneously from application programs having conflicting FILEMAXSIZE settings, data corruption will occur.
On Windows, the default IDXFORMAT (IDXFORMAT=0 or IDXFORMAT is not specified) is IDXFORMAT 3.
On UNIX, the default is IDXFORMAT 1 (C-ISAM) for fixed record length files and IDXFORMAT 3 for variable record length files.
Each indexed file has an inherent IDXFORMAT, established when the file was created.
To convert an existing indexed file from one IDXFORMAT to another, use the Rebuild utility.
To influence the IDXFORMAT of newly-created files, either:
-- Specify the IDXFORMAT option in the file named "extfh.cfg", or the file pointed to by the EXTFH environment variable, or
-- Compile programs with the IDXFORMAT compiler directive.
For more information, look up "IDXFORMAT" in the index of the documentation.
#EnterpriseServer
#netexpress
#COBOL
#ServerExpress
#Enterprise
#StudioEnterpriseEdition
#Server