Previous Topic

Next Topic

Book Contents

Book Index

ON FILE: Data Selection Statement

Processes a sequential dataset.

Figure 262 ON FILE Statement Format

Type the word FILE (or its abbreviation F) to the right of ON in the Rule Definition screen. When Enter is pressed, the following fields are displayed:

Table 263 ON FILE Statement Fields

Field

Description

FILENAME

Specifies the name of the sequential dataset. FILENAME can have a maximum of 44 characters. Mandatory.

MODE

Determines the starting point for calculating WHEN statement line and column specifications. See WHEN: Rule Definition Structure. Optional. Available modes are:

  • DS (Dataset) — Line and column values are based on the start of the dataset.
  • PG (Page) — Line and column values are based on the start of the page. Default.

LINECT

Specifies number of lines per printed page. Optional. If not specified, the default is 60.

DATASTAMP

Determines whether a unique Datastamp is calculated and assigned to the data sources. See Datastamp Calculation earlier in this chapter for more information.

  • blank – A Datastamp is not generated. Default.
  • 1 – A Datastamp is calculated using the original algorithm to ensure compatibility with prior versions.
  • 2 – A Datastamp is calculated using the newer, more efficient algorithm.

Parent Topic

Rule Definition