HP Integrity NonStop J-Series User Manual
Page 141

TAILORING AN APPLICATION
Providing Automatic READ Operations
Providing Automatic READ Operations
By supplying ON as a value for the FILL attribute, you generate
an application that can perform an automatic read operation under
certain conditions. To determine when the application should
perform this automatic read operation, ENABLE examines the level
at which a box with FILL ON resides in the tree structure.
Automatic READ Operations for a Parent Box or the Only Box in the
Tree
If you supply ON for the FILL attribute of a parent box or
the only box in the tree structure, the application, upon
execution, will perform an automatic read operation upon the file
represented by that box.
Suppose, for example, that you generate the application
("employee-prog") described in Section 4 with FILL ON. Since
this application uses only one box ("employee"), the application
will, upon execution, read the first record in the "employee"
file, as illustrated in Figure 6-10.
6-23