library in callLink element
The library property of the callLink element
of the linkage options part specifies the DLL or library that contains
the called program when the value of the type property
is ejbCall or remoteCall:
- If your program is calling a remote COBOL program on iSeries®, the library property refers to the iSeries® library that contains the program to be called.
- 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 element 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, 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 name 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.