Summary [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Self-Paced Training Guide
Summary
In this lesson you defined a decision table. A decision table is similar
to a set of IF-THEN-ELSE statements. You can use a decision table to
test a number of conditions and then execute a specified set of actions
in a specified sequence depending on the results of the test.
Decision tables have the following features:
* To define a decision table, you must complete four screens. These
are the decision table header screen, the decision table questions
screen, the decision table actions screen, and the decision table
relationships screen.
* The questions for a decision table are in the same format as logic
IF statements.
* A decision table can execute any action that can be called from a
menu. These include functions, processes, screens, and further
decision tables.
* For any given set of outcomes for the decision table questions,
the decision table relationships specify which actions are
executed, and the sequence in which they are executed.
* A decision table must be generated before it can be used in the
application.
MPE/iX 5.0 Documentation