Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 79
VALUE Clause
VALUE Clause
The VALUE clause defines an initial value for a field or group or suppresses any
VALUE clause in an item referenced by a TYPE clause.
For C, FORTRAN, and TAL, initial values are translated into comments. For COBOL,
initial values are translated into comments if a value is declared for a data type not
supported by COBOL.
DDL ignores the VALUE clause when generating TACL or Pascal source code.
value
is a literal value stored in the associated definition or record, specified as one of
the following:
"character-string" [ LN clause ]
constant-name [ LN clause ]
figurative-constant
national-literal [ LN clause ]
number [ LN clause ]
sql-literal
symbolic-literal
value-name
"character-string"
is a string of ASCII characters enclosed in quotation marks. To represent the
ASCII quotation mark character ("), use 2 consecutive quotation marks ("").
The character string cannot be a null string.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must
be a valid VALUE IS value but cannot be a figurative constant or symbolic
literal. Also, the constant value must be the same type as the associated data
item.
figurative-constant
is a constant that has been prenamed and predefined by the DDL compiler.
The value is not enclosed in quotation marks. Singular and plural forms are
equivalent in meaning.
{ VALUE [ IS ] value} [ LN clause ]
{ NOVALUE }
Содержание 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 ...