Running Ddl In Interactive Mode - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Running the DDL Compiler
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.
Data Definition Language (DDL) Reference Manual—426798-002
3 -3
Running DDL in Interactive Mode

Advertisement

Table of Contents
loading

Table of Contents