HP Integrity NonStop J-Series User Manual

Page 207

Advertising
background image

INTEGRATING APPLICATIONS
Writing a SCREEN COBOL Menu Program

This section discusses the tasks involved in integrating
applications into a single PATHWAY system, including:

1. Writing a SCREEN COBOL menu program that you can use to call
the integrated applications

2. Generating the applications in such a manner that they can be
integrated into the same PATHWAY system

3. Optionally, modifying the SCREEN COBOL source code of an
application generated by ENABLE to include a call to another
application

4. Modifying a PATHCOM command file to include the PATHWAY
entities needed to execute all the applications

Section 12 describes several applications that are integrated
into a single project-tracking system.

WRITING A SCREEN COBOL MENU PROGRAM

A SCREEN COBOL menu program provides you with a method of
selecting the application you want to use. When you write a
SCREEN COBOL menu program, you must include program logic that:

• Defines a menu screen

• Displays the menu screen

• Accepts information from the menu screen and uses this
information to determine which ENABLE application is to be
called

• Calls the appropriate ENABLE application

Optionally, you can also include program logic that limits access
to all or part of the PATHWAY system.

Refer to Section 12 for the source code of a sample menu program.

11-3

Advertising
This manual is related to the following products: