APPC Subsystem on MPE/XL Node Manager's Guide (30294-90007)
122 Chapter5
Managing the APPC Subsystem
Establishing Conversations
Establishing Conversations
Conversations between transaction programs can be locally initiated
(initiated by the TP on the HP 3000), or remotely initiated (initiated by
the TP on the remote system). This section describes the tasks that the
node manager, the local application programmer, and the remote
application programmer must perform in order to establish a locally or
remotely initiated conversation.
Locally Initiated Conversations
The following things must occur for a local TP to initiate a conversation:
1. An APPC session of the appropriate session type must be
established.
2. A local end user must run the local TP.
3. The local TP must send an allocate request over the session assigned
to it, to request a conversation with the remote TP.
4. The remote TP must be coded to receive the allocate request from
the local TP.
Note that the session must be established before the local TP can use it
to send the allocate request. This section describes the tasks that the
node manager and the local application programmer must perform in
order to establish a locally initiated conversation.
Node Manager Tasks
To prepare for a locally initiated conversation, you must do the
following:
1. Configure an appropriate session type. The session type must direct
data to the remote LU that serves the remote TP. For information on
configuring session types, see Chapter 4 , “APPC Subsystem
Configuration.”
2. Tell the application programmer the name of the session type. The
programmer must code the name of the session type into the local
TP.
3. Activate a session of the appropriate session type by issuing the
APPCCONTROL SESSIONS command, or configure a session for
automatic activation at subsystem startup.