Pathmaker Programming Guide
The Structure of Pathmaker Custom Services and Servers
Creating Services and Servers
4–8 067868 Tandem Computers Incorporated
Custom COBOL85 Services The Pathmaker product provides a framework for each custom service; you must
supply the COBOL85 code that does the work.
Using special edit files called Custom Source Files (formerly called Transaction Copy
Libraries), you supply COBOL85 code for each service for the:
Working-Storage Section
Extended-Storage Section (optional)
Procedure Division
Later, you package the COBOL85 custom services you have created into COBOL85
custom servers and then initiate their compilation.
When a server that contains a COBOL85 custom service is compiled, the Pathmaker
product places each service into a separate COBOL85 subprogram, also known as a
directly contained program. A COBOL85 directly contained program is a COBOL85
program nested within another COBOL85 program. A Pathmaker directly contained
program contains an Identification Division, an Environment Division (optional), a
Data Division (optional), and a Procedure Division.
The Procedure Division for each directly contained program includes a setup section
that is performed once when the server containing this service is started, a transaction
processing section that is performed each time the server receives a request for this
service, and a cleanup section that is performed once when the server containing this
service is shut down.
You need to write only parts of the Procedure Division, Working-Storage Section, and,
optionally, the Extended-Storage Section; the Pathmaker product generates source
code as needed for the other divisions.










