HP Integrity NonStop J-Series User Manual

Page 267

Advertising
background image

Sample Project-Tracking System
Writing a Menu Program

After making these modifications, you must compile the source
code for each application using the SCOBOLX command discussed in
Section 11. For example, if source code for the "project-entry"
application is in a file named "exam1src," you compile this
source code by entering:

SCOBOLX/IN exam1src, OUT listex1, MEM 64, NOWAIT/ pobj

WRITING A MENU PROGRAM

After you have generated all the applications to be integrated
into a single system, you can write a menu program that calls
these applications. Figure 12-25 shows the screen displayed by a
sample menu program for the project-tracking system.

================================================================

PROJECT TRACKING

MASTER MENU

================================================================

Select one of the following or press SF16 to EXIT

Function Key Description

_____________ __________________________________________

F1 To enter a new project.

F2 To look up an employee number.

F3 To obtain information about a project.

F4 To obtain detailed event information.

F5 To revise an event.

There are no more options

================================================================

Figure 12-25. Screen Displayed by Sample Menu Program

12-39

Advertising
This manual is related to the following products: