RSC/MP 7.2 Programming Manual
RSC/MP Sessions
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
4-2
Session Types
Session Types
RSC/MP supports two session types: Interprocess and IDS. This section lists the
features of each session type, describes options that need to be set and other setup
requirements for each session type.
The Interprocess Session Type
An Interprocess session provides the following features:
•
Communicates with Guardian named processes
•
Communicates with Pathway servers
•
Allows client applications to control TMF transactions.
•
Sends up to 56000 bytes per message to a named server; up to 31000 bytes to a
Pathway server.
•
Sends nowaited I/O to the NonStop system.
Interprocess sessions can use two different delivery mechanisms:
•
Process-to-process (PTP)—used with Guardian processes
•
Pathsend—used with Pathway servers
After the application has established an Interprocess session, it can issue RscWrite
and RscWriteRead calls using either delivery mechanism. The ServerName parameter
supplied to the RscWrite or RscWriteRead function selects the delivery mechanism.
Interprocess, Process-to-Process Delivery Mechanism
An Interprocess Process-to-Process session communicates with Guardian named
processes. A Guardian Named Process is any process which has a unique name and
does not run under a PATHWAY environment.
The Guardian named process is opened when the first RscWrite or RscWriteRead call
is made, and implicitly closed when the RSC session ends.
Select the Process-to-Process delivery mechanism by calling RscWrite or
RscWriteRead with a Servername whose first character is a dollar sign ($) or
backslash (\).
Interprocess, Pathsend Delivery Mechanism
An Interprocess Pathsend accesses Pathway servers using the PATHSEND system,
which controls the starting and stopping of server processes. The PATHMON_NAME
option controls which PATHMON is used. Set this option before calling
RscBeginSession. The setting in effect when RscBeginSession is called remains in
effect for the duration of the session.