Pathmaker Programming Guide

Modifying Requesters
Advanced Pathmaker Programming Topics
9–16 067868 Tandem Computers Incorporated
4. Add the SET PATHWAY MAXEXTERNALTCPS command to the PATHCNFG
file on \AWAY:
SET PATHMON BACKUPCPU 1
SET PATHWAY MAXASSIGNS 10
SET PATHWAY MAXDEFINES 4
SET PATHWAY MAXEXTERNALTCPS 2 <-- Add this command
SET PATHWAY MAXPARAMS 3 to the PATHCNFG
SET PATHWAY MAXPATHCOMS 40 file.
SET PATHWAY MAXPROGRAMS 3
SET PATHWAY MAXSERVERCLASSES 4
SET PATHWAY MAXSERVERPROCESSES 22
SET PATHWAY MAXSTARTUPS 3
SET PATHWAY MAXTCPS 2
SET PATHWAY MAXTERMS 60
START PATHWAY COLD !
Other changes might be appropriate for your system.
5. Create the table on the remote node if it does not already exist. You can copy the
SQL DDL source code file from \HOME or use INVOKE from SQLCI to create
SQL DDL source code. In this example, assume you copied the SQL DDL source
code file from \HOME to \AWAY. From the command interpreter on \AWAY:
23> SQLCI
>> OBEY sqlddl;
>> EXIT;
6. Create map DEFINEs for the table or tables that the server will access on \AWAY.
Assume this server accesses one table, ORDERS, whose define name is =ORDERS.
From the command interpreter on \AWAY:
24> ADD DEFINE =orders, CLASS MAP, FILE $data.ncs3.orders
7. SQL compile the server on \AWAY to incorporate the DEFINEs and to register the
server in the local SQL catalog. In this example, the local SQL catalog is named
SQLCAT:
25> SQLCOMP / IN $data.ncs3.servobj, OUT $s.#splr,
NOWAIT / CATALOG sqlcat