PreviousNext
Help > Development > Accessing AS/400 data > Native Access > Performances > Configuration and easycom.ini
Configuration and easycom.ini

Use Easycom Configuration. Utility, « Optimisation » tab, to set properties.

If the configuration utility is not installed on the workstation, you can edit "EASYCOM.INI" file.

 

Cache size:

You can set the maximum size (in bytes) for the network buffer.
The maximum number of records read at a time is also set by this Optimisation screen.
Easycom will move bloc of records over the network, without exceeding those two maximum values.

In EASYCOM.INI files, these entries are set by:

[BUFFERS]
records=xx
size=yyyy


The “records = xx” line determines the size of the PC-side cache. Key reading can thus load the specified number of records into a single block thus reducing the number of remote accesses. The maximum size is set by the input “size = yyyy” with a maximum of 64K (65535).

Warning! A cache too large can also reduce performances.

These two properties can also be set by ASProperty function call.

 

TCP/IP Compression:

Compressing data over TCP/IP can reduce the volume of data and increase performances when the network is slow.

On a high-speed network, this property isn’t very useful.

[TCP]
Compression=1