HP Integrity NonStop J-Series User Manual

Page 79

Advertising
background image

SINGLE-FILE APPLICATIONS
Generating a Single-File Application

Notice the level number (01) that appears to the left of the
box name. The value of this level number is significant only
for multifile applications. (See Section 5 for more
information.) For a single-file application, the only
requirement for this level number is that it be any digit
from 1 to 50.

5. Supply a value for the PATHCOMFILE attribute. This attribute
identifies the file to which ENABLE is to write the PATHCOM
commands. (After you generate your application, you use this
PATHCOM command file to establish a PATHWAY system with which
you can execute your application.) If you do not supply a
value for this attribute, ENABLE does not write a PATHCOM
command file. For the sample "employee-prog" application,
you use the following SET command to identify "singlpth" as
the name of the file for the PATHCOM commands:

SET APPL PATHCOMFILE singlpth

If you want ENABLE to write the PATHCOM commands to an
existing file, include an exclamation point (!) with the file
name. When you include this symbol, ENABLE replaces the
contents of the file with the PATHCOM commands. If you tell
ENABLE to write these commands to an existing file, that file
must be an edit-type file.

6. Add the application to the object table. When you add an
application, you also provide an application name. To add
the sample "employee-prog" applicaton, use the following ADD
command:

ADD APPL employee-prog

When you enter an ADD APPL command, ENABLE uses the contents
of the attribute table to determine the description of the
application. If you have not provided a value for the TITLE
attribute (the value of this attribute identifies the screen
title), ENABLE will use the application name as the default
value and, hence, as the default screen title.

After you add an application to the object table, you can
either repeat steps 1 through 6 to describe and add more
applications or generate the application you just added.

7. Generate the application by using the following command:

GENERATE employee-prog

4-6

Advertising
This manual is related to the following products: