HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
4-:4
Module name for KSAMFILE ksam-file-name 's SELECT statement >
Module name for KSAMFILE ksam-file-name 's FILE SECTION entry >
If you enter a [[RETURN]] for the SELECT statement prompt, SDCDE does not generate any code for the
SELECT statement. If you enter a [[RETURN]] for the FILE SECTION prompt, SDCDE does not
generate any code for the FILE SECTION.
In all cases SDCDE issues a prompt requesting the copy library module name to be assigned to the record
layout generated for the KSAM file in the WORKING-STORAGE SECTION:
Module name for KSAMFILE ksam-file-name 's WORKING-STORAGE >
If you enter a [[RETURN]], SDCDE defines the record layout in the FILE SECTION. If no FILE SECTION
module is created, then SDCDE does not define a record layout. If you specify a non-blank entry to this
prompt, SDCDE issues the following prompt:
Include KSAM FILETABLE parameter (N/Y) >
Enter a Y to generate the KSAM FILETABLE parameter for the current KSAM file. Use this table
structure when invoking intrinsics provided by KSAM for COBOL.
If you specify the ELEM-QUALIFY parameter of the OPTIONS command, and you define a record layout
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 all of the elements contained by the KSAM file. If you
enter a [[RETURN]], SDCDE does not attach a prefix or suffix.
When you complete the answers to the prompts, SDCDE generates the code for the KSAM file definition.
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 KSAMFILE name and lockword constants are generated in the WORKING-
STORAGE SECTION. The KSAMFILE name constant value uses the standard-alias attribute value if one
exists. If the SECONDARY-REC option is OFF, only the primary record and those records that explicitly
redefine it through a RECORD redefines RECORD relationship, have definitions generated using the
REDEFINES clause. If you set the SECONDARY-REC parameter of the OPTIONS command 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, havedefinitions generated using the REDEFINES clause.
If you set the QUALIFY parameter of the OPTIONS command to ON, all record names are prefixed by the
KSAMFILE name.
SDCDE supports KSAMFILE handling for COBOL and COBOL II. If you use KSAM support provided by
COBOL II, only the SELECT statement and FILE SECTION modules are needed. By entering a
[[RETURN]] for the WORKING-STORAGE SECTION module, the record layout is generated in the FILE
SECTION. If you use the intrinsics supplied by KSAM for use by COBOL, only the record layout in the
WORKING-STORAGE SECTION module is needed. No code should be generated for the SELECT
statement or the FILE SECTION. The SELECT statement uses the primary-flag and unique attributes of
Value Prompt
PREFIX Element prefix >
SUFFIX Element suffix >
NONE No prompt