HP Integrity NonStop J-Series User Manual

Page 127

Advertising
background image

TAILORING AN APPLICATION
Using DDL Headings for Screen Labels

To center the title "Employee Information Screen":

1. Divide 27 (the number of characters in the title) by 2 giving
you a result of 13.

2. Subtract 13 from 40 giving you a result of 27.

3. Include 27 blank characters before you enter the title when
you supply a value for the TITLE attribute:

SET APPL TITLE " Employee &
Information Screen"

Notice the ampersand character following the characters
"Employee." This character indicates that the SET TITLE
command is continued onto the next line. If you must
continue your title text onto another line, be sure to
include this character.

Using DDL Headings for Screen Labels

If the DDL record description associated with a file contains
appropriate HEADING clauses, you can identify these headings as
labels by supplying DDLHEADINGS as a value for the HEADING
attribute. To use the DDL HEADING clauses from the "employee"
record description for "employee-info," for example, include the
following command when describing the "employ-box":

SET HEADINGS DDLHEADINGS

Figure 6-4 shows the screen that "employee-info" will display if
you supply the attribute values discussed thus far. This figure
also shows the SET HEADINGS command within the series of commands
used to generate the application.

6-9

Advertising
This manual is related to the following products: