HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
4- 52
in either the FILE SECTION or the WORKING-STORAGE SECTION, 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 file. If you enter a
[[RETURN]], SDCDE does not attach a prefix or suffix.
When you complete the answers to these prompts, SDCDE generates the code in the specified module or
modules. If any module name already exists in the current copy library, the copy library's OPEN-MODE
parameter determines whether to append all generated code to the existing module or to replace the
existing module.
If you set the CONSTANTS parameter of the OPTIONS command to ON, and the WORKING-STORAGE
SECTION is generated, the filename and lockword constants are generated in the WORKING-STORAGE
SECTION. If you set the SECONDARY-REC parameter of the OPTIONS command to OFF, only those
records that explicitly redefine the primary record, through a RECORD redefines RECORD relationship,
have definitions generated using the REDEFINES clause. If you set the SECONDARY-REC parameter to
ON, all records explicitly redefining the primary record, as well as all secondary records contained by the
file, through a FILE contains RECORD relationship, have definitions generated using the REDEFINES
clause. If you set the QUALIFY parameter to ON and the SECONDARY-REC parameter to ON, then
SDCDE prefixes all record names by the file name.
The SELECT statement uses the following attributes from the FILE entity (unless otherwise specified) to
complete the ASSIGN and ORGANIZATION clauses:
lockword
file-dev-class
recording-mode
cctl-flag (from the FILE uses DEVICE-CLASS relationship)
file-size
file-type
The FD or SD statement uses the following attributes from the FILE entity:
blocking-min
blocking-max
blocking-units
min-record-size
max-record-size
char-type
recording-format
Value Prompt
PREFIX Element prefix >
SUFFIX Element suffix >
NONE No prompt