Additional configuration options are provided, for special behaviors.
Some of them are only provided for backward compatibility with LightLib/400.
These options are in easycom.ini file.
•
-
Oldconversion, in [general] section.
This allows to use old conversion behavior that was in LightLib/400.
The numeric fields (packed or zoned) will always be converted into double
values or character values (if above the precision of double).
Put
Oldconversion=1 to enable this.
Default is 0
• - ThreadAttach in [Multithread] section and NbSession in [NT] section.
By default, with multithread, the AS/400 connections are shared with the threads.
To automatically generate one connection per thread, add in easycom.ini file:
[MultiThread]
ThreadAttach=1
[NT]
NbSession=10
Default is 0 for ThreadAttach and 1 for NbSession.
Nbsession is the maximum number of AS/400 connections. It can be illimited (but allocates some more memory).
Because most of APPC routers are not thread-safe, Multithreading is only safe and supported on TCP/IP.