% DEFINE $rulename [(&formalarg1[, &formalarg2,
% ... &formalarg3, ..., &formalarg1000])]
statementblock
[% END]
&formalarg | Formal argument list. Formal arguments receive their values from actual arguments in a rule call. Separate arguments with a comma and optionally one or more spaces. Enclose the argument list in parentheses. |
Define a rule with three formal arguments whose values are supplied by a call that invokes the rule.
% DEFINE $ITEM-MAKER( &MM, &DATANAME, &TAIL) . . . % END
Rule call
$ITEM-MAKER( 12, 'TEST-ITEM', 'S9(9) COMP SYNC VALUE -1')