DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 21
CLISTOUT Command
•
CLISTOUTDETAIL causes DDL to reproduce any comments previously associated
with a referenced definition. If a definition or record refers to a definition that has a
comment and CLISTOUTDETAIL is in effect, DDL reproduces the comment in the
source code just before the referenced definition. CLISTOUTDETAIL does not
reproduce comments for definitions referenced by a token map or a token type.
•
Even if NOCLISTOUT is specified, a DDL timestamp comment, preceded by an
asterisk, is included before every definition and record in a source-code file. You
can suppress this comment with a NOTIMESTAMP command (see the
TIMESTAMP Command
on page 9-112).
CLISTOUT Command Example
The following example illustrates selective suppression or reproduction of comments in
a COBOL source output file:
The file COBSRC looks like this:
?SECTION AA,TANDEM
01 AA PIC X(8).
?SECTION BB,TANDEM
* comment for bb
01 BB PIC 9(6).
?SECTION YY,TANDEM
* comment for yy
01 YY.
* comment for aa
02 Y1 PIC X(8).
* comment for bb
02 Y2 PIC 9(6).
?DICT
?COMMENTS
?COBOL cobsrc
?NOTIMESTAMP
?NOCLISTOUT
* comment for aa
DEF aa PIC X(8).
?CLISTOUT
* comment for bb
DEF bb PIC 9(6).
?CLISTOUTDETAIL
* comment for yy
DEF yy.
02 y1 TYPE aa.
02 y2 TYPE bb.
END
?NOCLISTOUT
Add comments to dictionary
Suppress timestamp
Suppress comments
Start reproducing comments again
Reproduce comments for referenced
definitions AA and BB as well as comment
for YY
Stop reproducing comments
VST903.vsd
Содержание 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 ...