Dictionary/3000 Reference Manual (32244-90001)

Chapter 7 235
The Dictionary DICTCDE Utility
The DICTCDE Main Prompt
If [[RETURN]] is pressed in response to this prompt, the source code for that data set is
generated without a prefix assigned to the data items. The code is echoed to the terminal
as it is written to the copylib module. After the code for this data set is generated,
DICTCDE will continue to prompt for copylib modules and prefixes for the remaining data
sets in the database.
After prompting for each data set in the specified database, DICTCDE will return to the
main prompt.
IMAGE Data Set Files. If the specified file is an IMAGE data set, DICTCDE will issue
the following message and prompts:
File
filename
is an IMAGE MASTER data set.
(DICTCDE also tells you what type of data set the file is.)
Copylib module for
data set name
>
Enter the name of the copylib module (8 characters maximum). If [[RETURN]] is pressed
in response to this prompt, DICTCDE will return to the main prompt and no code will be
generated.
Once the copylib module for the specified data set has been entered, DICTCDE will prompt
for the following:
Prefix for data items in
data set name
>
Enter the prefix to be used in the COBOL identifier for the data items in the data set. The
prefix you choose can be up to 8 characters and must begin with a letter to be a valid
COBOL identifier. If you would like a hyphen between the prefix and the data item name,
be sure to include the hyphen as part of the prefix. (See Examples of Generated Code later
in this section for an example of data items generated with prefixes.) When a prefix is
assigned to a data item, that data item can be referred to uniquely in a COBOL program
without qualification.
If [[RETURN]] is pressed in response to this prompt, the source code for the data set is
generated without a prefix assigned to the data items. The code is echoed to the terminal
as it is written to the copylib module.
After the source code has been generated for the data set, DICTCDE will return to the
main prompt.
VPLUS Forms Files. If the specified file is a VPLUS forms file, DICTCDE will issue the
following message and prompts:
File
filename
is a VPLUS forms file.
Define all forms in one module (N/Y)>
Enter Y if the generated source code for all the forms in the forms file is to be written to
one copylib module. This module will also contain the source code for the forms file name.
DICTCDE will then prompt for the copylib module for the source code for the entire forms
file as follows:
Copylib module for
forms file name
>
Enter the name of the copylib module. DICTCDE will then issue the next prompt:
Define field number tables (N/Y)>