Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-87
PASCAL (D-Series Systems Only)
pascal-source-file
is the name of the Pascal source code file to be created, if necessary, and opened.
The file must be one of:
•
EDIT file
•
Unstructured file
•
Sequential device (such as a terminal, spooler, or process)
If the file exists but is not one of these types, the DDL compiler issues an error
message and does not open the file.
If pascal-source-file is an EDIT file, and it exceeds 99,999 lines, the DDL
compiler issues FILE ERROR - filename - Edit file line number too large (537) on
page A-18.
Default: home terminal
!
purges the contents of pascal-source-file before opening it, if it exists. If
pascal-source-file does not exist, the exclamation point has no effect.
Without the exclamation point, the DDL compiler appends the new Pascal source
code statements to the end of pascal-source-file.
NOPASCAL
closes any open Pascal source code file and stops translating DDL object
definitions to Pascal source code statements.
The specified Pascal source code file must be an EDIT file, an unstructured file, or a
sequential device such as a terminal, a spooler, or a process. If the file exists but is not
one of these types, the DDL compiler issues an error message and does not open the
file.
Only one Pascal source code file can be open at a time. If you use the Pascal
command when you already have a Pascal source code file open, the DDL compiler
closes the current source code file before opening the new source code file.
If the Pascal source code file already exists and the exclamation point is omitted, the
DDL compiler appends the DDL objects to the end of the file’s original contents. The
DDL compiler does not replace any existing objects.
The compiler can translate DDL objects specified in an OUTPUT statement only if the
dictionary containing these objects is open.
Each DDL object translated to Pascal source code is written to the Pascal source code
file in a separate section that has the same name as the DDL object it contains. You
can suppress the generation of individual section headings with the SETSECTION
command.
The DDL compiler replaces any hyphen in a DDL name with an underscore (_) before
writing the name to the Pascal source code file.