Dictionary/3000 Reference Manual (32244-90001)

Chapter 6 203
The Dictionary DICTPDE Utility
GENERATE
GENERATE
Generates PASCAL data declarations for the entities defined in the Dictionary.
Syntax
GENERATE subcommand G
Use the GENERATE command to extract data definitions from the Dictionary and to
generate the corresponding PASCAL data declarations. This command is also used to
generate the data structures for the VPLUS defined COMAREA and the data structures
for the IMAGE parameters. (See the GENERATE COMAREA and the GENERATE
IMAGEPARMS command-subcommands discussed later in this section.)
The subcommand identifies the entity to be extracted from the Dictionary. Each
GENERATE command-subcommand issues a prompt which allows you to specify the
entity name, except for GENERATE COMAREA. GENERATE COMAREA does not issue
any prompts. A complete list of subcommands is given below.
The data declarations and COMAREA generated by the GENERATE command are echoed
to the terminal and written to an output file (DICTOUT by default). The data declarations
for a specified entity and the COMAREA data structure can be generated only once to an
output file.
Subcommands
The following subcommands can be used with the GENERATE command:
COMAREA generates the data structures for the VPLUS COMAREA.
C
ELEMENT extracts element definitions from the dictionary and generates the
E corresponding data declarations.
FILE extracts file definitions from the dictionary and generates the
F corresponding data declarations.
IMAGEPARMS generates the data structures for the IMAGE parameters.
I
The following gives a discussion of each of the subcommands used with the GENERATE
command and the prompts that they generate.