HP System Dictionary/XL COBOL Definition Extractor (32257-90001)

2- 22
OPTIONS Command
The OPTIONS command alters values of the options that directly affect the source generation process.
The options remain in effect in the current session until you override them with another OPTIONS
command or until you reset them with the RESET command.
Syntax
OPTIONS [;ALIAS = alias-type]
[;EDIT-MASK = mask-option]
[;QUALIFY = qualify-option]
[;ELEM-QUALIFY = elem-qual-type]
[;CONSTANTS = constants-option]
[;SELECT-FILE = select-file-option]
[;COMMON-STORE = common-store-option]
[;SECONDARY-REC = secondary-rec-option]
[;ECHO = echo-option]
[;COMMENT = comment-option]
{.}
Parameters
alias-type Specifies a keyword that the System Dictionary uses to select an alias attribute that SD-
CDE checks during the source generation process. The following keywords are available:
NONE SDCDE uses the entity name.
COBOL SDCDE checks the cobol-alias attribute.
IMAGE SDCDE checks the image-alias attribute.
STANDARD SDCDE checks the standard-alias attribute.
VPLUS SDCDE checks the vplus-alias attribute.
The initial default is NONE. When you select a keyword other than NONE, SDCDE checks
the corresponding attribute and if it is non-blank, uses its value in place of the entity name.
For example, if you specify ALIAS = COBOL, SDCDE checks the cobol-alias attribute and if
itis not blank, uses its attribute value in place of the entity name. Refer to Chapter 4, "Source
Generation" , for details on how SDCDE generates aliases.
mask-option Specifies how the edit mask of the PICTURE clause is generated for elements. You can
specify ON or OFF. If you specify EDIT-MASK = ON, SDCDE uses the edit-mask at-
tribute to generate the PICTURE clause. If you specify EDIT-MASK = OFF, SDCDE uses
the element-type, byte-length, decimal, and display-length attributes to generate the edit
mask of the PICTURE clause. Note the following about the edit-mask attribute:
If you use the edit-mask attribute, all other attributes pertaining to the PICTURE clause are
ignored. However, if the data type (whether numeric or alphanumeric) cannot be determined
from the edit-mask attribute alone, the element-type attribute is used to determine it.
If the edit-mask attribute is blank or non-existent, the PICTURE clause for that element is
generated as if EDIT-MASK = OFF. The element’s data length and display length are both
determinedfromthe edit-mask. Hence,thebyte-offsetattribute should beconsistentwiththe