Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargeI have seen that 9/199 is generated when earlier version of NE is used. Revert to SMB 1 solves that problem. (smb=server messenger block)
Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargehi,
the file that give 9/199 is on local disk.
SMB is for network share...
Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargeWhat type of file are you creating, sequential or indexed?
With filemaxsize set to 8 the actual size limit for either is way beyond a TB. How much available disk space do you have on your system?
Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargeWe have run into this problem on compressed drives. The problem is not COBOL specific. I was able to duplicate the error with other languages. The only fix we found is to uncompress the drive. Then our programs ran and filled the entire drive. If your drive is not compressed, then this won't help.
PS. for us we got the 199 error at different sizes from 15 gig on up. If you check your machines error log file you might find an out of resources type error.
Scott
------------------------------------------
What we found:
FYI: I did some research on this problem and posted back and forth with some Microsoft Tech guys. The consensuses is you can’t create a file larger then 60GB on a Compressed NTFS drive.
Here is the best explanation I found:
------------------------------------
This is the most common problem seen with compression, and currently the solution is to educate users about limitations. NTFS compression creates approximately one file fragment for every 16 clusters of data. Because the max cluster size allowed for standard compression is 4K, the largest compression unit allowed is 64KB. In order to compress a 100 GB file into 64KB sections, you could potentially end up with 1,638,400 fragments. Encoding 1,638,400 fragments becomes problematic for the file system and can cause a failure to create the compressed file. If possible, avoid using compression on files that are large, or critical to system performance.
I received feedback from the NTFS Principal Development Lead about this blog. Fortunately, most of the feedback was good, but he asked that I add a maximum size recommendation. According to our development team’s research, 50-60 GB is a “reasonable size” for a compressed file on a volume with a 4KB cluster size. This “reasonable size” goes down sharply for volumes with smaller cluster sizes.
Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargeTest your program on an uncompressed drive. See if you still get the error.
Hi,
my program run in nets 5.1, write a file greater of 40 gb (at end will became greater 200 GB),
with this extfh
[XFH-DEFAULT]
FILEMAXSIZE=8
BASENAME=ON
RELDATBUF=65000
SEQDATBUF=1024000
INDEXCOUNT=65000
IDXDATBUF=65000
STRIPSPACE=OFF
IGNORELOCK=ON
but it's end with 9/199 systemerror or 9/068 record locked.
on windows server 2003 r2.
can it work?
#filetoolargeHi,
without ntfs compression it's works fine...
thank
bye