File Equations

<file equation>

── FILE ───────────────────────────────────────────────────────────────►
──┬─<intname>── = ──<file title>─────────────────────┬─────────────────┤
  │              ┌◄───────────── , ────────────┐     │
  ├─ ( ─┬──────┬─┴─<file attribute assignment>─┴─ ) ─┤
  │     └─ *, ─┘                                     │
  └─<global file assignment>─────────────────────────┘

Explanation

File equations can be used for any of the following reasons:

  • To cause a task to read from or write to different files from those it normally would

  • To change the attributes of files that a task reads from or writes to

  • To cause a task to read from global data specifications or local data specifications instead of from the input files the task would normally have used

File equations can appear in task equation lists, compiler task equation lists, task declarations, and task assignment statements.

The intname used in a file equation should be the internal name used for a particular file in the task to which the file equation is applied.

FILECARDS is an acceptable synonym for FILE.