This also affects locking mechanisms: programs sharing the same file all need to use the same FILEMAXSIZE settings to ensure semaphores and record locks are handled correctly, thereby avoiding potential file corruption in shared files.
Syntax:
FILEMAXSIZE
=
{
4
}
{
8
}
Parameters:
- 4
- Limits file addressibility to 32-bit values, which is compatible with earlier versions of Micro Focus products.
- 8
- Allows up to 64-bit values for file addressing on Windows platforms when accessing the NTFS file system, but changes the underlying record locking mechanism. Therefore, if you are sharing very large files (greater than 1Gb in size) all programs accessing the file must use FILEMAXSIZE set to 8 to avoid possible corruption problems.
Comments:
All applications accessing a file must run with the File Handler configured with the same value for FILEMAXSIZE.
Only 32-bit (4GB) support is provided for Novell systems.