HP RPG/XL Programmer's Guide (30318-90001)

4- 28
Column 53 is K to specify that this is a File Description
Continuation line.
Columns 54-59 specify that this line is a FORMS File Description
Continuation line.
Columns 60-65 contain the name of the forms file, FACCOUNT.
Figure 4-14 shows what this form looks like.
3 This line defines input record type 09. It is used to process
event code 09.
Columns 21-24 specify that the record core in columns 1-2 of
each record is 09.
4 This line defines the field, NUMBER. NUMBER contains the number
of edit errors returned by VPLUS.
Columns 69-70 contain 13 to turn on indicator 13 when there are
no edit errors.
5 This line defines input record type 01. This record describes
the VPLUS screen form and is used to read data from the
terminal.
6 This line defines the field, DATALN, that contains the number of
bytes read from the screen.
7 This line starts the descriptions of the fields in the VPLUS.
form.
8 This line defines the output record that is written when an
EXCPT V$ACTN calculation is executed. This may occur, for
example, when you request VPLUS to edit screen data.
9 This line defines the field, ACTION, which contains the VPLUS
action code.
10 This line defines the output record to be written when an EXCPT
V$DATA calculation is executed. This may occur, for example,
when you want to display a form containing data.
11 This line defines the field, ACTION, which contains the VPLUS
action code.
12 This line defines the field, DATALN, which contains the number
of bytes of data that VPLUS displays on the screen.
13 This line starts the field description for the VPLUS form.
14 This line starts the description of the fields in the message
window. See the section "Displaying VPLUS Messages" for
information about message window fields.
Displaying an Initialized VPLUS Form. This section explains how to load
a form from a VPLUS forms file, initialize it with FORMSPEC values and
display it. You must display an initialized form before a user can enter
data from the terminal.
The discussion in this section assumes that you are familiar with VPLUS
action and event codes. To review these topics, see the third section
titled, "Using VPLUS."
Figure 4-16 shows the steps for displaying an initialized VPLUS form.
(Refer to Figure 4-15 for descriptions of the terminal input and output
records used here.) The first step in displaying an initialized VPLUS
form is to set appropriate values in the message window fields, DATALN
and ENHANC. The second step is to enter the VPLUS action, GETNXT, to