The EntireX IMS Connect RPC Server allows standard RPC clients to communicate with IMS MPP programs. It works together with the IDL Extractor for COBOL and transforms RPC requests from clients into message to IMS, using IMS Connect. This document covers the following topics:
The IMS Connect RPC Server acts on one side as an RPC server and on the other side as a client for IMS Connect. The IMS Connect RPC Server is a Java-based component that can run on a different host to the one where IMS is running. This allows it to operate with a zero footprint of EntireX on the IMS host.
For existing IMS COBOL MPP programs, use the IDL Extractor for COBOL to extract the Software AG IDL File for the RPC clients.
For local extraction, all source files have to be stored locally on the same machine where the EntireX Workbench is running.
Remote extraction requires an RPC server running under z/OS with Extractor Service (Batch | IMS). See Step 2: Select a COBOL Extractor Environment or Create a New One in the IDL Extractor for COBOL documentation.
RPC requests are worked off inside the RPC server in worker threads.
Every RPC request occupies during its processing a worker thread.
If you are using RPC conversations, each RPC conversation requires its own thread during the lifetime of the conversation.
The IMS Connect RPC Server can adjust the number of worker threads to the number of parallel requests.
Use the properties entirex.server.fixedservers
,
entirex.server.maxservers
and
entirex.server.minservers
to configure this scalability. The IMS Connect RPC Server provides two worker models:
The fixed model creates a fixed number of worker threads. If entirex.server.fixedservers=yes
, the number of worker threads is specified in
entirex.server.minservers
is started and the server can process this number of parallel requests.
SCALE
The scale model creates worker threads depending on the incoming load of RPC requests.
If entirex.server.fixedservers=no
, the number of worker threads balances between what is specified in entirex.server.minservers
and what is specified in entirex.server.maxservers
. This is done by a so-called attach thread.
At startup, the number of worker threads is the number specified in entirex.server.minservers
.
A new worker thread starts if the broker has more requests than there are worker threads waiting.
If more than the number specified in entirex.server.minservers
are waiting for requests, a worker thread stops if its receive call times out.
The timeout period is configured with entirex.server.waitserver
.