DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 64
FORTRAN Command
FORTRAN source file. If a FORTRAN source file is already open, the command
closes the current file and opens a new source file.
fortran-source-file
identifies the FORTRAN source file. If
fortran-source-file
is omitted, DDL
lists the FORTRAN source statements at the home terminal.
!
purges the contents of an existing FORTRAN source file before opening the file. If
the specified file does not exist, DDL ignores the exclamation point.
NOFORTRAN
closes the currently open FORTRAN source file and stops translating subsequent
DDL object definitions. NOFORTRAN is the default.
FORTRAN Command Guidelines
The following points are guidelines for using the FORTRAN command:
•
The specified FORTRAN source 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, DDL issues an error message and does not open the file.
•
Only one FORTRAN source file can be open at a time. If you use the FORTRAN
command when you already have a FORTRAN source file open, DDL closes the
current source file before opening the new source file.
•
The only DDL objects that can be translated into 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 file already exists and the exclamation point is omitted,
DDL appends the DDL objects to the end of the file’s original contents. DDL does
not replace any existing structures.
•
Each DDL object translated into FORTRAN source code is written to the
FORTRAN source 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.
•
DDL translates a DDL group definition or record into a FORTRAN record structure
preceded by a comment line that identifies the record structure as a DDL definition.
•
Unless the FORTRANUNDERSCORE command is in effect, DDL discards any
hyphens in a DDL name before writing the name to FORTRAN source code.
Note. DDL translates objects named A-B and AB into data structures that have the same
name in FORTRAN (unless FORTRANUNDERSCORE has been specified).
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...