The linkage options part, callLink element,
property library specifies the DLL or library that
contains the called program when the value of the type property
is ejbCall or remoteCall:
If your EGL-generated Java™ program is calling a remote, non-EGL
generated program on iSeries™ (for example, a C or C++ service program),
the called program belongs to an iSeries library, and the library property
refers to the name of the program that contains the entry point to be called.
Set the other callLink properties as follows:
Set the pgmName property to the name of the
entry point
Set the remoteComType property to direct or
distinct
Set the remotePgmType property to externallyDefined
Set the location property to the name of the iSeries library
Otherwise, if the calling program is an EGL-generated Java program
not on iSeries,
the library property refers to the name of a DLL
that contains an entry point to be called locally as a native program. The
entry point is identified by the pgmName property;
but you need to specify the library property only
if the names of the entry point and DLL are different.
Do not include
a file extension when you specify a value for the library property.
For example, if the library name is libxyz.so, assign only libxyz to
the property.
To call a native DLL, set the other callLink properties
as follows:
Set the remoteComType property to direct
Set the remotePgmType property to externallyDefined
Set the type property to remoteCall because
EGL middleware is used even though the DLL is called on the machine where
the Java program
is running.