%%COLUMN

Identifies the column on a physical page that is occupied by a logical page in an output:

  • In the DOCUMENT or PRESORTED section of a Rule File, %%COLUMN identifies the column occupied by the first page of a document.
  • In the PAGE section of a Rule File, %%COLUMN identifies the column occupied by the current logical page.
  • In the FINISH section of a Rule File, %%COLUMN identifies which side of the page the last output ended on.

You can shorten %%COLUMN to %%COL.

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

Note: Since a rule file can change output, use %%COLUMN 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
  • Column