Pathmaker Programming Guide
10 Sample Pathmaker Sessions
067868 Tandem Computers Incorporated 10–1
This section contains three sample sessions of application development using the
Pathmaker product.
The first session creates an application that uses the Pathmaker database (DB)
requester facility. To create a simple application using only DB requesters, you
need only to define the DDL, create the requesters, configure the Pathway
environment, and install the application.
The second session creates a custom application that uses a transaction (TRNS)
requester. This session, although very small in scope, illustrates the steps you take
to create complex applications using the Pathmaker product.
The third session creates an application that uses NonStop SQL.
For each sample session, all necessary files are installed on the Pathmaker release
subvolume. These files are provided so that you need only to perform the Pathmaker
steps to create the applications. The release subvolume is the subvolume on which the
Pathmaker object files are installed. You should copy the files from the release
subvolume to your work subvolume before beginning a Pathmaker session.
Note For each sample session, you must add a new Pathmaker project to create the application. Refer to the
Utilities section (PMPROJECT utility), of the Pathmaker Reference Manual for details about adding new
Pathmaker projects.
Creating a Simple
Application
The first sample session creates a DB requester application that manipulates personnel
information. The application uses two files: a department file, DEPT, and an employee
file, EMPLOYEE.
The user interface consists of three screens:
A menu screen, MENU-SCREEN
A department information screen, DEPT-SCREEN
An employee information screen, EMPLOYEE-SCREEN
The menu screen provides access to the Department screen and the Employee screen.
Figure 10-1 is a diagram of the three screens used in this sample application.