Skip to main content

Big files

  • November 3, 2014
  • 3 replies
  • 0 views

Lars Aune

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
#netexpress

3 replies

Chris Glazier
Forum|alt.badge.img+2

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
#netexpress

Hi 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


Lars Aune
  • Author
  • Participating Frequently
  • November 10, 2014

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
#netexpress

And if I have the file on a subdirectory sdir and the name is MyFile it will be in the cfg:

[sdir\\MyFile]

on Windows?


Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • November 11, 2014

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
#netexpress

Actually, 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.