Running the DDL Compiler
Data Definition Language (DDL) Reference Manual — 426798-002
3 -3
Running DDL in Interactive Mode
•
Compiles the statements in
ddl-source-file
and produces a compiler listing at
listing-destination
, which you can specify in the OUT run option of the DDL
run command.
•
Performs the actions specified by any compiler control commands in the DDL run
command or in
ddl-source-file
. DDL processes the commands specified in
the run command first, then processes the commands specified in the source
schema as it encounters them.
•
Stops the DDL process after encountering an end-of-file mark or an EXIT
statement in the source file, and returns control to the command interpreter.
This command runs the DDL compiler:
DDL/IN ddlsrc, OUT listfile/ DICT, COBOL cobsrc
Assume that a dictionary already exists on the current default volume and subvolume.
The command directs the compiler to perform these operations:
•
Open the dictionary on the current default volume and subvolume and open the
COBOL source-code file named COBSRC.
•
Read statements and commands from the source-schema file DDLSRC.
•
Compile the object definition statements in DDLSRC in accordance with any
commands in the source schema and add the compiled objects to the dictionary.
•
Write COBOL source code generated from the DDL source schema to COBSRC.
•
List the compiler output at the listing destination LISTFILE.
Running DDL in Interactive Mode
DDL runs in interactive mode when you omit the IN and OUT run options from the DDL
run command, or when both IN and OUT both specify the same interactive terminal. In
interactive mode, DDL
•
Accepts all input from and sends all output to its home terminal.
•
Prompts for a command or statement with the exclamation point symbol (!).
In interactive mode, you can
•
Enter DDL statements and commands at your terminal keyboard in response to the
DDL prompt symbol (!).
•
Specify compiler commands in the DDL run command, even if you omit the IN and
OUT run options. You can put any DDL compiler commands at the end of the run
command, separating multiple commands with commas. Before issuing the prompt
for input, DDL executes all compiler commands in the DDL run command.
•
Exit from interactive mode by issuing the EXIT statement or by pressing CTRL/Y.
Содержание 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 ...