ENFORM Reference Manual

CUM Clause
Clauses
5–36 058057 Tandem Computers Incorporated
CUM Clause Used with
User Variable
When a numeric target-item with a CUM clause is assigned to a user variable,
ENFORM assigns the value to the user variable first, before the running total is
calculated. When the user variable is referenced as a target-item element in a LIST
statement or as an element within a LIST target-item, ENFORM uses the value of the
user variable. When the user variable is referenced in a print list, ENFORM uses the
value of the running total.
Restrictions Note that you cannot combine the CUM clause with the PCT clause, the TOTAL
clause, or the SUBTOTAL clause.