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