DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -114
VALUES Command
VALUES Command Guidelines
The following points are guidelines for using the VALUES command:
•
The VALUES command does not affect VALUE clauses associated with level 88
items or with CONSTANT, TOKEN-CODE, TOKEN-MAP, or TOKEN-TYPE
statements.
•
When the VALUES command is specified and DDL is generating source code for
FORTRAN, the compiler translates any initial values into comments.
•
The VALUES command is useful for definitions used in the Linkage sections of
COBOL or SCREEN COBOL, where COBOL initial values are not allowed.
VALUES Command Example
The following example suppresses initial values for the definition NEW-NAME:
These fields are stored in COBSRC as:
?SECTION NEW-NUMB,TANDEM
01 NEW-NUMB PIC 9(12)
VALUE ZEROS.
?SECTION NEW-NAME,TANDEM
01 NEW-NAME PIC X(18).
?NOTIMESTAMP
?COBOL cobsrc
DEF new-numb PIC 9(12)
VALUE IS ZEROS.
?NOVALUES
DEF new-name PIC X(18)
VALUE IS "JONES".
?VALUES
Suppress timestamp comments
By default, include initial
values in COBSRC
Suppress initial values
Include initial values again
VST932.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 ...