DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 28
COMMENTS Command
COMMENTS Command
The COMMENTS command directs the DDL compiler to store dictionary comments
specified by the user in an open dictionary
.
COMMENTS
stores any subsequent dictionary comments specified by the user in an open
dictionary.
NOCOMMENTS
halts processing of dictionary comments specified by the user. NOCOMMENTS is
the default setting.
COMMENTS Command Guidelines
The following points are guidelines for using the COMMENTS command:
•
After comments have been stored in the dictionary, they can be selectively passed
to any open DDL, REPORT, or host-language source output files with the
CLISTOUT command.
•
The comments associated with an object can be more than one line long.
•
Any comments that immediately precede the definition of an object are associated
with that object.
•
Any comments that immediately precede the definition of an element in a group
definition or record are associated with that element.
•
For more information on comments, see
CLISTOUT Command
on page 9-20, and
DDL Comments
on page 2-9.
COMMENTS Command Examples
In the following example, the two starred comment lines preceding the group definition
of NAME are stored as a single comment associated with NAME in the open dictionary,
and three starred comment lines are each associated with an element within the group
definition NAME. The comments are also written to the open COBOL source file
COBSRC, where they are inherited by the definition CUSTNAME, which refers to
NAME.
?DICT
?COBOL cobsrc
?COMMENTS
?CLISTOUT
?NOTIMESTAMP
* An expanded name in the following sequence:
[ NO ] COMMENTS
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...