Database Equation

<database equation>

── DATABASE ──<database name>──────────────────────────────────────────►
►─┬─ ( ── TITLE ── = ──<database title>── ) ─┬─────────────────────────┤
  └─ = ──<database title>────────────────────┘

<database name>

──┬─ <name constant> ───────┬──────────────────────────────────────────┤
  └─ # ── <primary string> ─┘
──┬─ <identifier> ──────────┬──────────────────────────────────────────┤
  └─ # ── <primary string> ─┘

<database title>

── <file title> ───────────────────────────────────────────────────────┤

Explanation

A database equation causes a program to use a different database than it would normally.

The database name is the name by which the database is referred to in the program.

Only the TITLE attribute of the database can be equated.

Example

The following is an example of a database equation following a RUN statement:

RUN OBJECT/UPDATE; 
 DATABASE TESTDB(TITLE=MYDB);