HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
4-:4
006600 01 DI-SUPPLIER PIC X(9) VALUE "SUPPLIER ".
006700 01 DI-LASTSHIPDATE PIC X(13) VALUE "LASTSHIPDATE ".
006800
Using Multiple Modules
When multiple modules are requested, SDCDE prompts for the module name for each data set:
Module name for IMAGE-DATASET data-set-name >
Specify the module name for the data set definition. If you enter [[RETURN]], SDCDE does not generate
any code for this data set and continues to the next data set in the database. If you specify the ELEM-
QUALIFY parameter of the OPTIONS command, SDCDE responds with one of the following prompts,
depending on the value you specify:
SDCDE attaches the prefix or suffix characters to the elements contained by the data sets. If you enter a
[[RETURN]], SDCDE does not attach a prefix or suffix.
When answers to these prompts are complete, SDCDE starts the source generation process for the data
set. If you set the ECHO parameter of the OPTIONS command to ON, then all generated code is displayed
on the $STDLIST device before continuing with the next data set.
After generating the source for all data sets, SDCDE asks for the module name for the constants. Note
that SDCDE issues this prompt only if you set the CONSTANTS parameter of the OPTIONS command to
ON:
Module name for data-base-name 's constants >
The database constants generated here include the following:
data name name
database passwords
data set names
search items
The database passwords are obtained from the IMAGE-CLASS entity definitions that are related to the
database via IMAGE-DATABASE contains IMAGE-CLASS relationship. SDCDE uses the value of the
password attribute on the IMAGE-CLASS entity to create the password constants. The constant values
generated here use the image-alias attribute value if one exists. If you enter a [[RETURN]] at the prompt,
the constants are not generated.
Example
In the following multiple modules example the database name is STORE, ELEM-QUALIFY = PREFIX,
and CONSTANT = ON.
Value Prompt
PREFIX Element prefix >
SUFFIX Element suffix >
NONE No prompt