%%ROW

Represents the row on a physical page occupied by a logical page in an output. In the DOCUMENT or PRESORTED section of a rule, %%ROW identifies the row occupied by the first page of a document. In the PAGE section of a rule, %%ROW identifies the row occupied by the current logical page. In the FINISH section of a rule, %%ROW identifies which side of the page the last output ended on.

If the output is not multiple up, Enrichment always sets the value of %%ROW to 1.

Note: Since a rule file can change output, use %%ROW after the rule file sets the output.

Valid in Control File Tags

This system variable is valid in the Control File when used in the following tags.

  • <ADDPART>
  • <FIELD> (with field replace, meaning the [action] parameter is set to R)
  • <SIDEPART>
  • <SORTPART>

Valid in Rule File Sections

This system variable is valid in the following Rule File sections.

  • Document
  • Presorted
  • Page
  • Finish