We are in the process of testing an application with smaller files and were planning to do the final test with the larger production files in the very near future. We were watching this thread and decided to run some initial testing with larger files. At first, we ran into the 4-gig limit and after a little research, frustration and trial-and-error we have it working on our Windows/2000 platform on a drive that is formatted for NTFS.
Here is what we had to do...
Our EXTFH.CFG file contains the following two statements.
[XFH-DEFAULT]
FILEMAXSIZE=8
The EXTFH.CFG file was located in the same directory as the file being created.
Our Net Express is Version 3.1 with Service Pack 1 (SP1). From within the Net Express project we selected "Project" and "Project Properties" and added the FILETYPE(8) directive to the Project Directives. The FILETYPE(8) is apparently a replacement for the IDXFORMAT(8) directive according to the Net Express documentation. Also, it appears that setting this directive in the project can be used in place of the $set statement in the COBOL program. It appears this "large file" support is both a compile and runtime dependent issue.
It took fifteen minutes to create an 8-gigabyte, keyed-indexed file of 30-million records.
We also encountered another frustration when we put the display statement in the COBOL program to help in debugging. The display items did not display when we were running the .EXE (Note: we did the EXE to test performance.
To correct this and have the display item display to the screen we set the link options to static, single-thread, character.
In Summary, it does work when all the pieces are properly coordinated. And YES... it is a bit confusing and frustrating. If you are interestined we are "scrubbing" the sample code and documenting this effort for future reference. We will make available all the documentation, source code and configuration settings upon request.
Saginaw
helpdesk@simotime.com