DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -113
VALUES Command
TIMESTAMP Command Example
The following example illustrates selective listing or suppression of the timestamp
comments in a COBOL source file:
?COBOL cobsrc
DEF aa PIC X(8).
?NOTIMESTAMP
DEF bb PIC 9(5).
•
•
•
?TIMESTAMP
RECORD rec1. FILE IS $data.sales.rec1 KEY-SEQUENCED.
02 aa TYPE *.
02 bb TYPE *.
END
The COBSRC listing for this file is:
VALUES Command
The VALUES command directs the DDL compiler to include (or suppress) initial values
in the source code generated for COBOL and DDL. This command applies only to
values specified in the VALUE clause of a DEFINITION or RECORD statement.
VALUES
includes initial values in COBOL or DDL source code when a VALUE clause is in a
DEFINITION or RECORD statement. VALUES is the default.
NOVALUES
suppresses any initial values when generating DDL or COBOL source code.
[ NO ] VALUES
* SCHEMA PRODUCED DATE - TIME : 4/30/1991
12:29:35
?SECTION AA,TANDEM
* Definition AA created on 04/30/1991 at 12:29
01 AA PIC X(8).
?SECTION BB,TANDEM
01 BB PIC 9(5).
.
.
.
?SECTION REC1,TANDEM
* Record REC1 created on 04/30/1991 at 12:29
01 REC1.
02 AA PIC X(8).
02 BB PIC 9(5).
Timestamps
No Timestamp
Timestamp
VST931.vsd