Pathmaker Programming Guide

Creating a NonStop SQL Pathmaker Application
Sample Pathmaker Sessions
10–40 067868 Tandem Computers Incorporated
c. Specify the host variable names.
Enter ORDERS-HOST and PARTS-HOST in the Logical File Name column,
enter ORDERS and PARTS in the DDL Record/Table Object Name column,
and leave the Open Mode column blank. Press F2 to update the screen. Press
F16 to return to the Service Definition screen.
6. Define SQL-ORDERS-LIST-FIRST service:
a. Enter the basic service information.
On the first page of the Service Definition screen, enter the service name
(SQL-ORDERS-LIST-FIRST), Service Type (Custom), Language (COBOL), and
a service description. Enter a
Y
into the TMF On field and the Embedded SQL
field. Enter the name of the Custom Source File replacing XX with your
initials (XXs3pm.SERVCOD3). Press F1 to add the service.
XXs3pm is the subvolume where you copied SRVCOD3.
Press F6 to reach the IPC Definition screen.
b. Define the IPC messages.
Leave the Request Reference Object column blank. Enter the name
ORDER-LIST-CONTEXT in the Reply Reference Object column. Press F2 to
update the screen.
Press F16 to return to the Service Definition screen. From the Service
Definition screen, press F7 to reach the Logical File Entries screen.
c. Specify the host variable name.
Enter ORDERS-HOST in the Logical File Name column, enter ORDERS in the
DDL Record/Table Object Name column, and leave the Open Mode column
blank. Press F2 to update the screen. Press F16 to return to the Service
Definition screen.
7. Define SQL-ORDERS-LIST-NEXT service:
a. Enter the basic service information.
On the first page of the Service Definition screen, enter the service name
(SQL-ORDERS-LIST-NEXT), Service Type (Custom), Language (COBOL), and
a service description. Enter a
Y
into the TMF On field and the Embedded SQL
field. Enter the name of the Custom Source File replacing XX with your
initials (XXs3pm.SERVCOD3). Press F1 to add the service.
XXs3pm is the subvolume where you copied SRVCOD3.
Press F6 to reach the IPC Definition screen.