Skip to main content

Problem:

How do you create large files in Mainframe Express?

Resolution:

If this is a sequential file, any size limit would be a

function of your operating system and file system.  If

you're using NTFS, then the NTFS limit on file size

is just a little less than 16 terabytes.

If you're using ISAM/VSAM, then the default limit on

file size is 2 gigabytes.  There are ways around this:

1. You must compile with directive IDXFORMAT(8)

2. You need to create a text file called EXTFH.CFG and place

   the statement

           FILEMAXSIZE=8

   in it. It needs to either be in your current directory or

   pointed to by environment variable EXTFH.

For example, suppose you create EXTFH.CFG in

D:\\abcde\\fghij\\microfocus

You'd set EXTFH to be

D:\\abcde\\fghij\\microfocus\\extfh.cfg

This should work for you, unless you try to create a file with

more than 2 billion records.

Old KB# 2381

#RMCOBOL
#ServerExpress
#MFDS
#MainframeExpressandMFE
#Enterprise
#EnterpriseDeveloper
#netexpress
#COBOL
#AcuCobol