── DATABASE ──<database name>──────────────────────────────────────────► ►─┬─ ( ── TITLE ── = ──<database title>── ) ─┬─────────────────────────┤ └─ = ──<database title>────────────────────┘
──┬─ <name constant> ───────┬──────────────────────────────────────────┤ └─ # ── <primary string> ─┘
──┬─ <identifier> ──────────┬──────────────────────────────────────────┤ └─ # ── <primary string> ─┘
── <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);