The
remotePgmType property of the
callLink element
of the linkage options part specifies the kind of program being called.
The
remotePgmType property affects the generation
of the calling program. The property is applicable in the following
situation:
- The value of the type property is ejbcall or remoteCall;
and
- The called program is one of the following kinds:
- An EGL-generated Java™ program
- A non-EGL dynamic link library (DLL) or C or C++ program
- A program that runs on CICS® and
has CICS commands
- A program that runs on IMS™
- A program on System i®
Select one of the following values:
- EGL
- The called program is a COBOL or Java program, or Java wrapper,that
was generated by EGL or by VisualAge® Generator.
This value is the default.
- EXTERNALLYDEFINED
- The called program was generated neither by EGL nor by VisualAge Generator. This
option is available only in the following cases:
- STATEFUL
- System i only. Used on Web projects for
pages to access stateful host programs on the System
i, such as RPG programs. This option bypasses the host catcher
program. It creates and stores a connection based on the Web session;
subsequent System i calls will reuse the same connection.
- The following considerations apply:
- Bypassing the host catcher program means that EGL does not initiate
commit or rollback operations for the host program. The user code
is responsible for commit and rollback.
- The option is allowed only when the remoteComType property
is set to JAVA400 and the target is a Web project.
- STATELESS
- System i only. Used to directly call a host
program, bypassing the catcher. This option uses connection pooling,
so subsequent calls are not guaranteed to use the same connection.
The following considerations apply:
- Bypassing the host catcher program means that EGL does not initiate
commit or rollback operations for the host program. The user code
is responsible for commit and rollback.