Dictionary/3000 Reference Manual (32244-90001)

Chapter 7 233
The Dictionary DICTCDE Utility
The DICTCDE Main Prompt
The DICTCDE Main Prompt
When the copylib file is either accepted or created by DICTCDE, the main prompt used for
generating source code and for changing the DICTCDE options is issued:
File, Element, Parameters, Options, or Exit (F/E/P/O/EX)>
The responses allowed for this prompt indicate the following:
F begins the prompting cycle for generating source code for IMAGE, VPLUS,
KSAM, MPEF and MPER file definitions.
E begins the prompting cycle for generating source code for element
definitions.
P begins the prompting cycle for generating source code for IMAGE, VPLUS,
and KSAM standard parameters. (These parameters are discussed later in
this section.)
O begins the prompting cycle for changing the options provided by
DICTCDE. (These options are discussed in detail later in this section.)
EX exits DICTCDE.
Each of the above responses (except the EX response) generates additional prompts. The
additional prompts are shown as each response is discussed in more detail.
Note that if ], ]], [[CONTROL]] Y, or [[RETURN]] is entered in response to the main
prompt, DICTCDE will reissue the prompt.
Generating Code for Files
To generate source code for file definitions, enter F in response to the main prompt.
DICTCDE will then prompt for the file name as follows:
File name>
Enter the name of the file to be extracted from the Dictionary. Only one file may be
extracted at a time. (You may not enter multiple file names in response to this prompt.)
Note that if the file to be extracted is an IMAGE data set or a VPLUS form, you may
qualify the data set or form by its parent file. To do so, enter the name of the database or
forms file in parenthesis next to the file name as shown below:
File name>
filename
(
parent filename
)
When a file is identified by its parent file, then DICTCDE will generate the code for the file
using the file's alias (if any) within the parent file if the alias option is enabled. (The alias
option is discussed in more detail later in this section.)
DICTCDE then displays the file type of the specified file and continues to prompt for
information. The prompts that are issued by DICTCDE depend on the type of the file
specified.