Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Max Files (Parameter Files Only)

A client-side application utilizing parameter file definitions defaults to allowing 50 files to be simultaneously opened. If more files are necessary, the client-side global ctmaxparm can be defined in the client application to override the default as follows:

EXTERN NINT ctmaxparm;

ctmaxparm=100; /* Support 100 files for this client */

Be aware that the FairCom Server has a default file limitation of 100 files which can be increased by the keyword FILES. See the FairCom Server Administrator’s Guide for more information.

ctmaxparm is applicable only to applications utilizing parameter files. Client applications utilizing Incremental File structures, (IFIL, IIDX, ISEG), obtain the number of FairCom DB file handles from the fils argument to InitISAM(), etc.