Skip to main content

how to use files bigger than 4 gig

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

how to use files bigger than 4 gig

Resolution:

1. use compiler directive IDXFORMAT"8"

allows the creation of large indexed files up to 128 Tb

**this step only has to be used for a program creating new files

2. Need to set FILEMAXSIZE=8 in extfh.cfg file under [XFH-DEFAULT]

ex.  this file is just a text file.

[XFH-DEFAULT]

FILEMAXSIZE=8

3. Next  set environment variable EXTFH to point to path and file name of the cfg file

(if using a project can set environment variable under Project Properties> Environment>IDE)

Old KB# 5197

#ServerExpress
#netexpress
#AcuCobol
#RMCOBOL
#COBOL

0 replies

Be the first to reply!