You are here: Job and Form Set Rules Reference > JDT Rules Reference > RunUser

RunUser

Use this job level rule to execute a user function. You can use this rule to run a user function such as GetRecsUsed, IncRecsUsed, or ResetRecsUsed, to manipulate an overflow variable. This rule lets you manipulate an overflow variable without immediately making use of it in a field mapping.

Syntax

;RunUser;;;

Example

Overflow variables are variables you can use when a rule is searching an extract record using a search mask. You can use the overflow variable to vary the occurrence of the record you are searching for.

Typically, the AFGJOB.JDT file contains this rule:

;ResetOvFlw;;;

which resets all overflow variables to zero at the beginning of each transaction. The RunUser rule lets you reset to zero at any time during field processing by running the ResetRecsUsed user function via the RunUser rule.

See also