LU 6.2 API Application Programmer's Reference Guide (30294-90008)

36 Chapter2
Conversations
Establishing Conversations
6. Tell the node manager the executable file name of the TP. The
executable file may reside in any group and account. The node
manager will create a job to run the TP.
7. Tell the node manager whether the TP calls the MCGetAllocate
intrinsic multiple times or only once. The node manager must
configure the TP to accept either single or queued allocate requests.
8. Decide whether you want to start the TP yourself or have the APPC
subsystem start the TP. While you are debugging the TP, you might
want to start it yourself. However, once the TP is working, you
should have the APPC subsystem start the TP when it receives an
allocate request from the remote TP. Tell the node manager whether
to configure the TP for manual or automatic startup.
9. Tell the node manager how long the local TP should wait for an
allocate request from the remote TP before the MCGetAllocate
intrinsic times out. The node manager will configure the time-out
value.
Node Manager Tasks
To prepare for a remotely initiated conversation on MPE XL, the node
manager must do the following:
1. Configure an appropriate session type.
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, or configure one
for automatic activation at subsystem startup.
4. Create a job that runs the executable TP file. See the APPC
Subsystem on MPE XL Node Manager’s Guide for more information.
5. Configure the TP name, the job name, the time-out value, whether
the TP accepts queued allocate requests, and whether the
programmer will start the TP manually. See the APPC Subsystem on
MPE XL Node Manager’s Guide for information on TP configuration.
Remote Programmer Tasks
To prepare a remote program to initiate a conversation with an HP TP
on MPE XL, the remote programmer must do the following:
1. Design and code the program to initiate a conversation with the
corresponding TP on the HP 3000.
2. Make sure that the remote TP passes the proper TP name in the
allocate request. The HP application programmer must tell the
remote TP programmer which TP name to use.