Pathmaker Programming Guide
Modifying Requesters
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–13
Sending to Servers Over a
Network
Another example of using a requester copy library is to send a request over a network
to a server on another node. You might want to send a request to a server on another
node because the database file that the server accesses is located on that (remote) node.
In the following discussion:
Node
refers to a system in a network of systems.
Pathway system
refers to a Pathway application system composed of a system
monitor (PATHMON), one or more servers, a database, and one or more terminal
control processes (TCP).
Tandem recommends that, if you are using the Pathmaker product, you create a SEND
to a server on another node by creating two Pathway systems: one on the home node
and one on the remote node. The home Pathway system is an application created
using a Pathmaker project; the remote Pathway system can be an application created
using a Pathmaker project but is not necessarily one.
You should define and generate the server on the home Pathway system and copy the
server object code to the remote node.
Steps for Creating a SEND to a Remote Node
To create a SEND to a server on a remote node, follow these steps:
1. Create the home Pathway system. Configure, install, and test the application.
2. Identify the function keys that the end user will press to invoke a server on the
remote node.
3. Create a requester copy library that moves the remote system name and remote
PATHMON name to the Pathmaker variables T9154-SYSTEM-NAME and T9154-
PATHMON-NAME for each function key that invokes a server on a remote node.
4. Add the SET TCP PATHWAYS command to the PATHTCPS file on the home
system.
5. Copy the server object code to the remote system using FUP DUP.
6. Duplicate the server class configuration commands from the PATHSVRS file of the
home Pathway system and add them to the Pathway configuration file(s) on the
remote Pathway system. (If the remote Pathway system was created using the
Pathmaker product, add the server class configuration commands to the
PATHSVRS file on the remote Pathway system.)
Change the server class configuration commands to refer to the remote system’s
physical file locations. Add the SET PATHWAY MAXEXTERNALTCPS command
to the Pathway configuration file on the remote system. (If the remote Pathway
system was created using the Pathmaker product, add the command to the
PATHCNFG file on the remote Pathway system.)
7. If you are using NonStop SQL, add DEFINEs on the remote system for the SQL
tables by using the TACL ADD DEFINE command, and then SQL compile the
server using the SQLCOMP program on the remote system.