HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
2- 23
edit-mask, not the byte-length or display-length attributes.
The edit-mask attribute can either be in the COBOL edit mask format or the Dictionary/3000
edit mask format. If the edit-mask contains inconsistent or erroneous data, a warning mes-
sage is issued and the edit-mask is not used. Instead, the edit mask is generated as if EDIT-
MASK = OFF.
See Appendix C for the mapping of the edit-mask attribute to the COBOL edit mask and the
computation of the edit mask from the element-type, byte-length, display-length and decimal
attributes.
qualify-option Allows qualification of all non-element names with their parent names. You can specify
ON or OFF. If you specify QUALIFY = ON, all non-element entity names are qualified
with the parent name. If the combined name is longer than 61 characters, SDCDE trun-
cates the name. If you specify QUALIFY = OFF, the parent name qualification is sup-
pressed. The default is OFF.
elem-qual-type Specifies prompting for element prefixes or suffixes. The following options are available:
PREFIX During the source generation process, SDCDE asks for element prefixes.
SUFFIX During the source generation process, SDCDE asks for element suffixes.
NONE During the source generation process, no prompts for element qualifica-
tion are issued.
The default is PREFIX.
constants-option Allows constants related to an entity to be generated. For an IMAGE-DATABASE entity
type, the constants generated include the database name, database passwords, data set
names, and their search items. For a FORMSFILE entity type, the constants generated
include the forms file name, forms file lockword, head form name, all form names, and
each form’s field number table. You can specify ON or OFF. If you specify CONSTANTS
= ON, constants are generated. If you specify CONSTANTS = OFF, constants are not gen-
erated. The default is ON.
select-file-option Allows prompting for SELECT and FILE section module names when generating COBOL
source code for FILE and KSAMFILE entity types. You can specify ON or OFF. If you
specify SELECT-FILE = ON, SDCDE prompts you for SELECT and FILE section module
names during the source generation process of the FILE and KSAMFILE entity types. If
you specify SELECT-FILE = OFF, COBOL source is generated only into the WORKING-
STORAGE SECTION and not into the FILE or SELECT sections. The default is ON.
common-store-option Allows all records and forms contained in one entity to use the same memory area.
This is useful if space conservation is an important issue for your program. You can spec-
ify ON or OFF. If you specify COMMON-STORE = ON, you can have all the records or
forms contained in one IMAGE-DATABASE or FORMSFILE use the same memory area.
SDCDEdoes thisby generatingREDEFINES clause. For example, suppose you have a da-
tabase DB that contains data sets DS-1 and DS-2. If COMMON-STORE = ON, the follow-
ing COBOL source is generated:
01 DS-1-DATA.
...
01 DS-2-DATA REDEFINES DS-1-DATA.