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

4- 56
Displaying and Reading an RSI Form. You can enter the Calculation
Specifications operations EXCPT and READ to display, then read and RSI
form. You do not need to enter Calculation Specifications to display and
read an RSI form if you entered "N" for Exception Output in SIGEDITOR
because the form is processed automatically during normal logic cycle
processing.
Figure 4-28 shows how to display and read an RSI form using Calculation
Specifications.
Figure 4-28. Displaying and Reading an RSI Form Using Calculation Specifications
Comments
1 This line begins the definition of the input fields in the RSI
form.
2 This line displays the form SCN01 whose definition starts in
line 4.
3 This line reads the data entered into the form by the user and
stores it in the Input Specification fields. When this line is
executed, all of the data entered by the user is available for
processing by the program.
4 This line defines the fields that are displayed in form SCN01.
Field values can be specified as defaults in SIGEDITOR or you
can move the values into the output fields using Calculation
Specifications operations.
Displaying Messages with RSI. There are no special areas of the screen
or special fields for messages. If you want to display a message (for
example, an error message), you must define a field for it. Once
defined, there are several ways you can use the field to display
messages. You can place a message in the field yourself or, if the
message is contained in a User Message Catalog, you can specify the
message number in SIGEDITOR. In that case, the message is read and placed
into the field automatically. Also, you can associate an indicator with
the field in SIGEDITOR, then display the field by turning the indicator