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