Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 552 Bytes

increment-variable.md

File metadata and controls

19 lines (13 loc) · 552 Bytes

Increment a transient variable

The INCREMENT-VARIABLE directive increments the value of the variable that is local to the input record being processed.

Syntax

increment-variable <variable> <value> <expression>

The <variable> is incremented by the <value> when the <expression> evaluates to true.

Usage Notes

This directive is applied only within the scope of the record being processed. The transient state is reset, once the system starts processing of the new record.

Internally, this directive increments a long value.