DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 98
SOURCE Command
SOURCE Command
The SOURCE command directs the DDL compiler to compile a DDL source-schema
file or specified sections of that file.
source-name
identifies the source-schema file to be compiled;
source-name
is a file name.
section-name
identifies a section within the source-schema file. If you do not specify a section,
DDL compiles the entire source schema. If you specify one or more sections, DDL
compiles only the specified sections.
SOURCE Command Guidelines
The following points are guidelines for using the SOURCE command:
•
A source-schema file is an EDIT file that contains DDL statements and commands;
it can be either a file created with the EDIT program or a DDL source file created
with the DDL command.
•
If you specify more than one section, the sections are compiled in the order they
occur in the source file.
•
A single SOURCE command can extend over more than one input line. The first
line begins with ?SOURCE, and each subsequent line begins with a question
mark.
•
Source-schema files can be nested; that is, source schema A can contain a
SOURCE command specifying source schema B, and source schema B can
contain a SOURCE command specifying source schema C.
If DDL is compiling a source-schema file and it encounters a SOURCE command
in that file, the DDL compiler performs the following sequence of actions:
1. Suspends compilation of the current file.
2. Opens the file specified in the SOURCE command and compiles either the
entire file or the specified sections.
3. Includes the compiled file (or sections) in the current file at the point where it
encounters the SOURCE command.
4. Resumes compiling the current file.
SOURCE source-name [ ( section-name [ , section-name ] ...) ]
Содержание 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 ...