I have a file greater than 1GB.
If I rebuild it to MF8 it can be larger but when I subsequent updated the file it gets corrupted (9/041)
Is it nessesarry to also use FILEMAXSIZE=8?
How do I set FILEMAXSIZE för just one file. I have the same file in other subdirectorys that I do not want to affect?
#extfh#filesize#netexpressHi Lars,
If you wish to create a shared idxformat 8 indexed file that is > 1GB then you do need to set FILEMAXSIZE=8.
You can set this at the file level by including the file name tag in the extfh.cfg file.
For example, the following would turn on the option only for file named TEST.DAT.
[XFH-DEFAULT]
BASENAME=ON
[TEST.DAT]
IDXFORMAT=8
FILEMAXSIZE=8
I have a file greater than 1GB.
If I rebuild it to MF8 it can be larger but when I subsequent updated the file it gets corrupted (9/041)
Is it nessesarry to also use FILEMAXSIZE=8?
How do I set FILEMAXSIZE för just one file. I have the same file in other subdirectorys that I do not want to affect?
#extfh#filesize#netexpressAnd if I have the file on a subdirectory sdir and the name is MyFile it will be in the cfg:
[sdir\\MyFile]
on Windows?
I have a file greater than 1GB.
If I rebuild it to MF8 it can be larger but when I subsequent updated the file it gets corrupted (9/041)
Is it nessesarry to also use FILEMAXSIZE=8?
How do I set FILEMAXSIZE för just one file. I have the same file in other subdirectorys that I do not want to affect?
#extfh#filesize#netexpressActually, if you are specifying the option:
BASENAME=ON
this means that you can use just the name of the file without a path specifier and it will find it.
If you did not use BASENAME=ON then you would need to provide the exact location of the file.
There are actually many ways of assigning the filenames.
Please see the documentation here for more.