Comments Generated [ HP SYSTEM DICTIONARY XL COBOL DEFINITION EXTRACTOR Reference Manual ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL COBOL DEFINITION EXTRACTOR Reference Manual
Comments Generated
In SDCDE, you may set the COMMENT option to ON, to document the COBOL
source being generated. If you do so, the following lines of comments
are always included for all entity types:
Entity type
Primary name
Alias name
scope-owner attribute value
scope-changed attribute value
date-created attribute value
date-changed attribute value
description attribute value
The comment line for the alias name is included only if the ALIAS option
is set to something other than NONE. If no description attribute exists
for the entity, none will be included as comments.
A number of additional attributes are included as comments; the table
below shows the entity type and the attributes included in the comments:
ENTITY TYPE ATTRIBUTES
IMAGE-DATABASE None
IMAGE-DATASET image-dataset-type
FORMSFILE None
FORM None
FILE
file-type
char-type
KSAMFILE None
RECORD None
ELEMENT
element-type
display-length
decimal
byte-length
Example
The following example shows the comments generated for the element named
ORD-NO. The comments are inserted prior to the entity's definition.
000100
000200* Entity Type : ELEMENT
000300* Primary Name : ORD-NO
000400* Alias Name : CUSTOMER-ORDER-NUMBER
000500* Scope Owner : DA
000600* Scope Changed : DA
000700* Date Created : 08/30/85 11:09 PM
000800* Date Changed : 08/30/85 11:09 PM
000900* Element Type : X
001000* Display Leng : 10
001100* Decimal : 0
001200* Byte Leng : 10
001300
001400 01 CUSTOMER-ORDER-NUMBER-ELEM
.
.
.
MPE/iX 5.0 Documentation