Previous Topic: DEFINE FILENext Topic: DELETE COMPUTATION


DEFINE PATH

DEFINE PATH places CA OLQ in database path definition mode.

Access mode: The syntax below is invalid when the access switch is set to IDMS.

Syntax:

►►─── DEFine ─┬─────────────┬─ PATh ──────────────────────────────────────────►◄
              └─ path-name ─┘

Parameters:

path-name

The 1- to 32-character name of the path being defined. When a path name is specified, it appears as a title on each report file output page.

Example:

This example defines a simple path:

define path
get all seq office
get all employee in office-employee
execute path
display cols=office-code-0450 emp-last-name-0415 emp-city-0415

This path retrieves all the occurrences of the office record, the employees belonging to that office, and displays the office code, the employees' last names, and the employees' cities.