DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 63
FORTRAN Command
•
The DDL compiler does not make all the lengthy syntax tests that the FORTRAN
compiler makes. The DDL compiler tests the DDL statements to ensure that they
do not violate the following rules of form specified by FORTRAN:
°
An elementary field must not be larger than 255 bytes.
°
An element must not be described as TYPE CHARACTER 8; this data type is
not supported in FORTRAN.
FORCHECK Command Example
The following example shows error and warning messages produced by a FORTRAN
syntax check on a RECORD statement.
When FORCHECK is in effect, DDL issues the following message for each
DEFINITION or RECORD statement that passes the syntax check:
FORTRAN CHECK completed for name
FORTRAN Command
The FORTRAN command instructs the DDL compiler to:
•
Create and open a FORTRAN source file or open an existing FORTRAN source
file.
•
Translate subsequent statements that describe DDL definitions and records into
FORTRAN source statements.
•
Translate DDL objects specified in subsequent OUTPUT statements into
FORTRAN source statements.
•
Write the FORTRAN source statements to the FORTRAN source file.
FORTRAN
opens the specified FORTRAN source file, translates all subsequent definitions
and records defined by statements or specified in OUTPUT statements into
FORTRAN source statements, and writes the source statements to the open
{ FORTRAN [ fortran-source-file [ ! ] ] | NOFORTRAN }
?FORCHECK
RECORD long.
FILE IS "$data.sales.long" KEY-SEQUENCED.
02 lfield PIC X(256).
02 sfield PIC X KEYTAG 0.
END
Record LONG size is 257 bytes.
*** WARNING *** FORTRAN OUTPUT DIAGNOSTICS.
*** ERROR *** Fortran element with size greater than 255 - LFIELD
?NOFORCHECK
Start syntax checking
Turn off checking
VST916.vsd
Содержание 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 ...