Micro Focus Parameter Settings

Set the following parameters in the Micro Focus $COBDIR/etc/extfh.cfg file to specify access of files greater than 2GB as described in the following table.

Parameter Setting Explanation
IDXFORMAT 8 The format (large indexed file) used to create indexed files.
FILEPOINTERSIZE 6 The length, in bytes, used to store file pointers.
FILEMAXSIZE 8 Bytes allocated for holding offsets used in locking calls.

Add these parameters below the [XFH-DEFAULT] tag to apply them to all ISAM files, or use the [ FILENAME -FILE] tag to apply them to one file.

Example: Configure all files as large ISAM files

Add the required parameters below the [XFH-DEFAULT] tag in the extfh.cfg file.

[XFH-DEFAULT]
IDXFORMAT=8
FILEPOINTERSIZE=6
FILEMAXSIZE=8

Example: Configure a specific file as a large ISAM file

Add the [ FILENAME -FILE] tag below the [XFH-DEFAULT] tag in the extfh.cfg file. These setting will apply to any program using [ FILENAME -FILE].

[XFH-DEFAULT]
[DTLSORT-FILE]
IDXFORMAT=8
FILEPOINTERSIZE=6
FILEMAXSIZE=8

Changing the extfh.cfg file location

The default location of this file is $COBDIR/etc/extfh.cfg. If this file is in another location on your system, you must set the EXTFH environment variable. Type

EXTFH= extfh_path

export EXTFH

stopps.sh

stoplaw

startlaw

startps.sh