Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-102
TACL
tacl-source-file
is the name of the TACL 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.
Default: home terminal
!
purges the contents of tacl-source-file before opening it, if it exists. If
tacl-source-file does not exist, the exclamation point has no effect.
Without the exclamation point, the DDL compiler appends the new TACL source
code statements to the end of tacl-source-file.
NOTACL
closes any open TACL source code file and stops translating DDL object
definitions to TACL source code statements.
The specified TACL 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 TACL source code file can be open at a time. If you use the TACL command
when you already have a TACL source code file open, the DDL compiler closes the
current source code file before opening the new source code file.
If the TACL 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 structures.
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 TACL source code is written to the TACL source code
file in a separate section that has the same name as the DDL object it contains. You
cannot suppress the generation of individual section headings in TACL source code
with the SETSECTION command.
Any DDL object defined in a DDL CONSTANT, DEFINITION, RECORD, TOKEN-
CODE, TOKEN-MAP, or TOKEN-TYPE statement can be translated to TACL data
structures.
The DDL compiler replaces any hyphen in a DDL object name with a circumflex (^)
before writing the name to the TACL source code file.