DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 94
SECTION Command
SAVE Command Example
In the following example, ERRORS 1 directs the DDL compiler to cease processing the
schema when it encounters the first error. While NOSAVE is in effect, it directs the
compiler to purge the dictionary when compilation terminates. The SAVE command is
executed only if compilation reaches the ?SAVE line with no errors.
SECTION Command
The SECTION command names a section of a DDL source schema. This command
does not affect the section headings in host-language source files.
section-name
is a DDL name that identifies all subsequent source lines through the next
SECTION command as members of a source-schema section called section-
name.
SECTION Command Guidelines
The following points are guidelines for using the SECTION command:
•
A section is defined as all the source lines following a SECTION command, up to
and including the last line before the next SECTION command or the end of the
DDL source schema.
•
You can divide a DDL source schema into any number of sections.
•
You can use the SOURCE command to include selected sections of a DDL source-
schema file.
•
When specified in a SOURCE command, sections with the same name are
grouped together during compilation.
•
The SECTION command only names sections in a source schema. You can use
the SETSECTION command to specify or suppress section names in host-
language source-code output.
SECTION section-name
44> DDL
!?ERRORS 1
!?NOSAVE
!?DICT $data.sales
.
.
.
!?SAVE
!EXIT
First line of DDL source
schema
Body of DDL source
schema
Last line of DDL source
schema
VST924.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 ...