Enform Plus Reference Manual
Statements
Enform Plus Reference Manual—422684-001
4-13
DICTIONARY Statement
DICTIONARY Statement
The DICTIONARY statement allows you to identify the subvolume containing your
dictionary. It also allows you to clear the internal table. The DICTIONARY statement
has the same effect as the ?DICTIONARY command. The syntax of the DICTIONARY
statement is:
dict-subvol-name
is the name of the subvolume where your dictionary files reside. See the Guardian
Programmer's Guide for information on specifying Guardian file names.
The dictionary identified in a DICTIONARY statement must be created by the Data
Definition Language compiler. Enform Plus issues an error message if you attempt to
use a dictionary compiled with a version of DDL that is not current. You must then
recompile the dictionary with a current version. See the Data Definition Language
(DDL) Reference Manual for more information about creating and compiling a
dictionary.
Identifying the Location of the Dictionary
You can identify the location of the dictionary by:
•
Specifying the volume and subvolume where the dictionary resides as a part of the
TACL ENFORM run command. If you do not specify a volume and subvolume,
Enform Plus uses your default volume and subvolume as the dictionary location.
•
Specifying either the DICTIONARY statement or ?DICTIONARY command to
identify where the dictionary resides. Use of either the DICTIONARY statement or
the ?DICTIONARY command overrides the dictionary identified at the time of the
TACL ENFORM run command. When a new dictionary is specified, the internal table
associated with the old dictionary is cleared.
In the following example, the DICTIONARY statement is used to identify the volume
that the dictionary resides on as $data and the subvolume as database:
DICTIONARY $data.database;
DICTIONARY [ dict-subvol-name ]