Ch 10. RPG Interface to VPLUS [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation
HP RPG/iX Reference Manual
Chapter 10 RPG Interface to VPLUS
The RPG interface to VPLUS provides functions similar to those provided
by the VPLUS procedures for other languages. You can use the VPLUS
interface to:
* Retrieve a form from a VPLUS forms file and display it at the
terminal.
* Display a message in the window area of the terminal screen.
* Display initial field values specified when the form was created.
* Accept input from the terminal.
* Determine if the input fields contain errors and, if so, flag them
and display an error message.
* Write data entered from the terminal to the user program or to a
batch file. (A batch file lets you record screen data in a file
for later use.)
* Transfer data from the program or batch file to the terminal
screen.
* Transfer data between the program and batch file.
The RPG interface to VPLUS provides all of the facilities to read and
write screen forms, edit data entered on the form and record that data in
a screen transaction file (batch file). Figure 10-1 illustrates how
VPLUS works with RPG.
Figure 10-1. How VPLUS Works With RPG
For complete information about VPLUS, see the Data Entry and Forms
Management System VPLUS/3000 manual. This manual lists an RPG general
purpose data entry program that uses VPLUS. Use that program along with
the one at the end of this chapter to understand how to tailor a VPLUS
program to meet your specific requirements.
MPE/iX 5.0 Documentation