Tailoring an application providing a screen title – HP Integrity NonStop J-Series User Manual
Page 126
TAILORING AN APPLICATION
Providing a Screen Title
Employee Information Screen
Page 1/1
* EMPNUM ___________
* DEP-KEY
DEPENDENT-NO ____
DEPENDENT-NAME ________________________________
RELATIONSHIP ____
DEPENDENT-AGE ____
* EMPNAME _______________________________
* DEPT
REGNUM ____
BRANCHNUM ____
JOB _______________________
AGE ___
SALARY _______________
VACATION _____
Ready for input F3 for Help, shift F16 to exit
.00
S5044-037
SET BOX RECORD employee
ADD BOX employ-box
SET BOX RECORD dependents
ADD BOX depends-box
SET APPL TREE (01 employ-box
02 depends-box LINK empnum TO OPTIONAL emp-no)
SET APPL PATHCOMFILE emppath
SET APPL TITLE "Employee Information Screen"
ADD APPL employee-info
GENERATE APPL employee-info
Terminal
Screen:
ENABLE
Commands:
Provides a
screen title
Figure 6-3. Screen With User-Defined Screen Title
If you supply a value for the TITLE attribute, the title can be
up to 79 characters long (78 for T16-651x terminals). You can
center the title in the following way:
1. Divide the number of characters in the title by 2.
2. Subtract the result of step 1 from 40 (character 40 falls at
the center of the screen). This step gives you the number of
blank characters that should precede the title.
6-8