Decision Table Questions [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Self-Paced Training Guide
Decision Table Questions
Menu Path
To acess the Decision Table Questions Screen
1. From the main menu, select the Logic option.
2. Select the Decision Tables option.
3. Choose Questions.
Screen Description
This screen allows you to enter up to eight separate IF statements.
These are the questions to be resolved when the decision table is
executed.
Decision Table Questions Screen
To enter the field values:
Field Entry Explanation
---------------------------------------------------------------------------------------
Decision Table Name Press Return This field defaults to the name used in the
last decision table screen. In this case,
it defaults to prod_opt_update from the
decision table header screen.
Questions The remainder of this screen contains eight
sets of three fields. The fields are IF
Data name 1, IF Test, and Data name 2.
Each set of three fields specifies a
question to be resolved.
Data name 1 V-mode This is the name of the first data item
that is to be tested. The rules for the
construction of an IF statement in a
decision table are the same as those for
the construction of an IF statement in a
logic block.
IF Test = This is the relationship that must exist
between the two named fields. (A decision
table question can also test the status of
a single item. For example, the test can
be *BLANK.)
Data name 2 C-add This is the name of the data item that the
first data item is tested against. In this
case it is the alphanumeric constant add.
The first question is now complete.
To complete the screen:
Enter the remaining four questions as shown below:
1. Question 2
Data Name 1 V-mode
IF Test =
Data Name 2 C-modify
2. Question 3
Data Name 1 V-mode
IF Test =
Data Name 2 C-delete
3. Question 4
Data Name 1 V-current_record
IF Test =
Data Name 2 C-product
4. Question 5
Data Name 1 V-current_record
IF Test =
Data Name 2 C-option
5. Press the Commit Data function key when you have completed these
entries.
MPE/iX 5.0 Documentation