HP DDL D40 Reference Manual page 251

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
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
CLISTOUT Command Example
The following example illustrates selective suppression or reproduction of comments in
a COBOL source output file:
?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
The file COBSRC looks like this:
?SECTION AA,TANDEM
01 AA
?SECTION BB,TANDEM
* comment for bb
01 BB
?SECTION YY,TANDEM
* comment for yy
01 YY.
* comment for aa
02 Y1
* comment for bb
02 Y2
Data Definition Language (DDL) Reference Manual—426798-002
on page 9-112).
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
9- 21
CLISTOUT Command
VST903.vsd
PIC X(8).
PIC 9(6).
PIC X(8).
PIC 9(6).

Advertisement

Table of Contents
loading

Table of Contents