Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-64
FORTRAN
If fortran-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 fortran-source-file before opening it, if it exists. If
fortran-source-file does not exist, the exclamation point has no effect.
Without the exclamation point, the DDL compiler appends the new FORTRAN
source code statements to the end of fortran-source-file.
NOFORTRAN
closes any open FORTRAN source code file and stops translating DDL object
definitions to FORTRAN source code statements.
For the data types that the DDL compiler generates for FORTRAN source code, see
Table C-3 on page C-5.
The specified FORTRAN 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 FORTRAN source code file can be open at a time. If you use the FORTRAN
command when you already have a FORTRAN source code file open, the DDL
compiler closes the current source code file before opening the new source code file.
The only DDL objects that can be translated to FORTRAN source code are definitions
and records.
The compiler can translate definitions and records specified in an OUTPUT statement
only if the dictionary containing these objects is open.
If the FORTRAN 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.
Each DDL object translated to FORTRAN source code is written to the FORTRAN
source code file in a separate section that has the same name as the DDL object it
contains. You can suppress the individual section headings with the SETSECTION
command.
The DDL compiler translates a DDL group definition or record to a FORTRAN record
structure preceded by a comment line that identifies the record structure as a DDL
definition.