Data Definition Language (DDL) Reference Manual
Dictionary-Manipulation Statements
Data Definition Language (DDL) Reference Manual—529431-004
8-4
EXIT
EXIT
The EXIT statement ends the DDL session, closes any files that were opened in the
session, and returns control to the command interpreter.
When you run the DDL compiler interactively, an EXIT statement stops the DDL
compiler and returns control to the command interpreter.
When you run the DDL compiler noninteractively, an EXIT statement within the
schema stops the DDL compiler at that point and returns control to the command
interpreter. Use of the EXIT statement within a schema is optional, because reaching
the end of the file performs the same function.
EXIT closes any files that were opened in the session.
Entering Ctrl-y at the terminal has the same effect as an end-of-file mark. If you type
Ctrl-y at the DDL prompt, the DDL compiler displays EOF! and ends the session.
EXIT [ . ]
Example 8-5. EXIT Statement in Interactive DDL Session
10> VOLUME $data.sales
Go to subvolume with dictionary.
11> DDL
Run DDL compiler.
!?DICT
Open dictionary.
!?FUP fupsrc
Open FUP source code file.
!OUTPUT RECORD customer
Write record to fupsrc.
!EXIT
Return to command interpreter.