Dictionary Reports
Data Definition Language (DDL) Reference Manual — 426798-002
E- 3
Producing Dictionary Reports
Producing Dictionary Reports
The Enform report queries use the DDL dictionary that describes the structure of the
14 dictionary files. This dictionary must be compiled before you can produce the
Enform dictionary reports. For a description of this dictionary, see
Appendix D,
Dictionary Database Structure
.
After the dictionary has been compiled, you can run any or all of the 16 Enform queries
to report on any dictionary on any subvolume in the system.
Both the DDL dictionary schema (DDSCHEMA) and the Enform source (DDQUERYS)
reside on $SYSTEM.SYSTEM. When DDSCHEMA is compiled, DDL creates the
dictionary on the subvolume $SYSTEM.DDL.
The steps for producing a report follow:
1. Compile the DDL dictionary schema, thereby creating a dictionary for the 14 DDL
dictionary files.
2. Establish your dictionary volume and subvolume as the default for the terminal on
which you request the reports.
3. To generate all 16 reports, run the Enform program noninteractively using
$SYSTEM.SYSTEM.DDQUERYS as the source file.
4. To select particular reports, run the Enform program in interactive mode and
specify only the $SYSTEM.SYSTEM.DDQUERYS sections that generate the
reports you want.
These steps are described in detail in the following pages.
Compiling the DDL Dictionary Schema
Each DDQUERYS query begins with this statement:
?DICTIONARY $SYSTEM.DDL
The statement opens the dictionary on subvolume $SYSTEM.DDL. Before you can run
any query, you must create a dictionary describing the DDL dictionary files on
subvolume $SYSTEM.DDL. You can create the dictionary on any volume that does not
already have a dictionary, but to conform to the Enform query, you must create it on
subvolume $SYSTEM.DDL. You create the dictionary by compiling DDSCHEMA
for
example:
13> DDL/IN $system.system.ddschema, OUT/ DICT $system.ddl
The preceding command creates a dictionary describing the 14 DDL dictionary files on
$SYSTEM.DDL and suppresses the listing. You can, of course, get a listing at your
terminal or list DDSCHEMA on a printer. Depending on how your dictionary is
managed, you might be able to omit this step. If the DDL dictionary is already compiled
on subvolume $SYSTEM.DDL, you need not recompile it.