HP Integrity NonStop J-Series User Manual

Page 91

Advertising
background image

CREATING AND RUNNING A MULTIFILE APPLICATION
Generating a Multifile Application

In the sample "employee-detail" application for files that
contain related information, the "employee" file contains general
information about each employee; the "depend" file contains
information about each employee's dependents. The join fields
("empnum" and "emp-no") each represent an employee identification
number. Since these fields represent related data, you can use
the "employee-detail" application to record, maintain, or display
information about a particular employee.

If you have decided that your data base files contain related
data and have appropriate join fields, you are ready to generate
and execute your own multifile application. To do this:

1. Use the ENABLE commands to generate the application.

2. Use the PATHCOM command file produced by ENABLE to establish
a PATHWAY system. You can then execute the application.

GENERATING A MULTIFILE APPLICATION_

To generate a multifile application, perform the following
tasks:

1. Describe and add a box for each data base file to be used by
the application.

2. Associate the boxes with the application and define the
logical connections that exist between the boxes.

3. Identify the name of the file to which the PATHCOM commands
are to be written.

4. Name and add the application.

5. Generate the application.

To perform these tasks, use the ENABLE commands. Since some
commands are long, you may want to enter them in an edit-type
file (called a "command file"). If you enter the commands in a
command file, the last task to perform is:

6. Submit the command file to ENABLE.

5-7

Advertising
This manual is related to the following products: