Data Definition Language (DDL) Reference Manual

Dictionary Reports
Data Definition Language (DDL) Reference Manual529431-004
E-7
Requesting Reports
The queries in DDQUERYS use the dictionary files on $DATA.SALES, because the
dictionary file names stored in the dictionary on $SYSTEM.DDL do not specify a
volume or a subvolume. When the Enform Plus program reads $SYSTEM.DDL, it uses
the current default volume and subvolume to qualify the dictionary file names.
In the case of the sample database, the file name in the Enform Plus OPEN statement
in DDQUERYS is fully qualified by the current default volume and subvolume. For
example:
OPEN DICTOBL; ! Statement in DDQUERYS
OPEN $data.sales.DICTOBL; ! Statement as executed
The same default volume and subvolume insertion takes place for every OPEN
statement in DDQUERYS. So, to query any dictionary on any subvolume, you can use
the same dictionary describing the fourteen dictionary files, $SYSTEM.DDL, and the
same Enform Plus dictionary report source, $SYSTEM.SYSTEM.DDQUERYS.