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

4-: 33
Figure 4-18 shows how to move disc file information to a terminal file
output record then display it using a VPLUS PUTDTA action.
Figure 4-18. Moving Data to a VPLUS Form and Displaying It
Comments
1 This line reads the TurboIMAGE data set file, DACCOUNT.
(Information from this data set will be displayed on the
terminal.)
2 This line begins the MOVE operations that move the data set
fields to the terminal output record. (See Figure 4-15 for a
description of the terminal output record associated with
indicator 85.)
3 The line enters the VPLUS action, PUTDTA, into the output field,
ACTION. PUTDTA moves the terminal output record fields to the
VPLUS buffer.
4 This line performs exception output for the record associated
with EXCPT Group V$DATA.
5 This line enters the VPLUS action, SHOW, into the output field,
ACTION. SHOW displays the form in the VPLUS buffer.
6 This line performs exception output for the record associated
with EXCPT Group V$ACTN.
Displaying Messages with VPLUS. When you use VPLUS, you can display
one-line messages in the message window located at the bottom of the
display. VPLUS automatically displays FORMSPEC data field prompts and
edit errors in the window, but occasionally you may need to use the
window for other purposes.
Figure 4-19 shows how to display a message in the message window. The