%%L_TOTAL_PAGES

The total number of logical pages in the document or banner (if <ALLOW> is set to PAGECOUNT) plus pages from any Insertpage tag group.

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