High-Level Screen Management Intrinsic Library Reference Manual (32424-90002)

3- 34
1 or 3 = do not
initialize fields
with form
specifications.
2 or 3 = do not force
the operator's data
display to be
refreshed.
formpak
A compound parameter that acts as input to
HPDSEND. It provides HPDSEND with specific
information about displaying forms on the
operator's terminal screen. It is made up of
the following subparameters:
formname
A 32-byte character
array that names the
form to be displayed
on the user's device.
You can alternatively
specify one of two
formname tokens:
$REFRESH or
$PREDETERMINED.
$REFRESH is used to reinitialize the operator's
terminal. It causes the following actions to
be performed:
- reset and reinitialize the terminal
- redisplay the last form at the home position
(top left corner of the screen)
- redisplay field data and enhancements
- redisplay window line contents and
enhancement
Use the $REFRESH token to implement a recovery
mechanism for terminal power failures.
$PREDETERMINED tells HPDSEND that your
application will use the form and form
positioning directive that are specified in the
forms file. Alternately, the current form can
contain embedded processing instructions that,
when executed, determine which form to use next
and where to position it.
formposition
A four-byte integer
that tells HPDSEND
where to position the
form on the
operator's terminal
screen. The values
you can specify are:
0 = home - clears the
device and positions
the form at the top
left of the screen
1 = overlay -
position at the
beginning of last
form.
2 = append - position
at end of last form