Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-22
CLISTOUT
CLISTOUTDETAIL causes the DDL compiler 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, the DDL compiler 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 on 
page 9-113).
Example 9-9. CLISTOUT, NOCLISTOUT and CLISTOUTDETAIL Commands
DDL Input
?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 including comments again.
Include comments for aa and bb as well as yy.
Stop including comments.
DDL Output (COBOL Code)
?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).










