Pathmaker Programming Guide
Creating a Custom Application
Sample Pathmaker Sessions
067868 Tandem Computers Incorporated 10–19
The menu screen, MAIN-MENU, is a menu requester that provides access to the parts
information screen and the order information screen.
The parts information screen is a DB requester named ENTER-PARTS, which uses
standard services to enter parts records into the parts information file. You can also
use this screen to update or delete parts records.
The order information screen is a TRNS requester named ORDER-TAKER, which uses
two custom COBOL services:
CHECK-ORDER
PLACE-ORDER
Given a part number and quantity needed, service CHECK-ORDER checks the
availability of a part. Given the part number and quantity needed, service
PLACE-ORDER enters the order information into the ORDERS file and updates the
quantity available in the PARTS file. The custom source files that contain COBOL
code for these services are provided on the Pathmaker release subvolume. The
Pathmaker release subvolume is the subvolume on which the Pathmaker object files
are installed.
To create this application, the following aids are provided:
A list of the steps that you need to take to create your application. These steps are
shown on the following pages.
A screen-by-screen example describing where you enter information on each
screen to create this application. (To make the most effective use of the sample
sessions, you should enter the information through the Pathmaker full screen
interface as you follow the steps.)
A DDL source code file (DDLSRC), two custom source files containing COBOL
service code (SERVCOD1 and SERVCOD2), and a requester copy library file
(EXMPLCPY), are installed on the Pathmaker release subvolume.
Before beginning the Pathmaker session, you must:
Copy the source files from the Pathmaker release subvolume.
Add a new Pathmaker project.