Pathmaker Programming Guide
4 Creating Services and Servers
067868 Tandem Computers Incorporated 4–1
This section provides detailed information about creating services and servers.
Pathmaker services and servers can be created using either PMADL or the full screen
interface. No matter which tool you use, you need to know:
The different types of Pathmaker services and servers
Which portions of services and servers the Pathmaker product creates for you and
which portions you are responsible for creating
The tasks that must be completed to create services and servers including:
The basic steps to define a service.
A description of each of the required portions of a custom service with a brief
example of the type of code that should be included in a custom service.
The basic steps you need to take to define and generate a server, including a
description of the two phases of server generation and of the files the
Pathmaker product uses to generate a server.
If you want to see a detailed step-by-step example of service and server definition, see
Section 10.
Service and Server
Types
There are three types of Pathmaker services and servers:
Standard
Registered
Custom
A standard server contains only standard services. A registered server contains only
registered services. A custom server contains only custom services.
Standard Services and
Servers
Pathmaker standard services and the servers that contain them are provided as part of
the Pathmaker product. The standard services are a predefined set of services that
perform basic file operations like reading and updating records. Standard services can
only be used with DB requesters.
You do not define standard services because standard services are included in one of
two standard servers. Standard servers are already compiled and are included on the
installation subvolume, which is the subvolume where the object files for this version
of the Pathmaker product are installed. When an application developer generates an
application that uses DB requesters, the Pathmaker product automatically configures
the target application to use the appropriate DB standard server.
Each standard server provides the same set of functions. For example, the standard
server includes functions for reading the first record of a file, reading the next record,
inserting the current record, deleting the current record, and so on. See Section 3,
Table 3-2, for a complete list of the standard services.