Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

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


Code Block
increment-variable variable value exp: {<condition>}

The variable is incremented by the value when the <condition> 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.