Forcheck Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
When FILLER 1 is specified, the structure of TEST1 is the same in both CASE1 and
CASE2. A COBOL program containing these data structures could successfully
execute the following COBOL statement:
MOVE TEST1 OF CASE1 to TEST1 OF CASE2.
When FILLER 0 is specified, the structure of TEST1 in CASE1 differs from the
structure of TEST1 in CASE2. A COBOL program containing these data structures
could not successfully execute the preceding MOVE statement.
Caution. Mixing FILLER 1 and FILLER 0 can cause DDL to generate unusable code. Using
the preceding CASE1 as an example, if you add the definition to a dictionary while FILLER 0 is
in effect and later output the definition with FILLER 1 (the default) in effect, DDL generates
COBOL source code with two added fillers (one preceding TEST1 and the other within it, as in
both of the CASE1 examples), causing the computational item to begin in the middle of a word.
This is incorrect for either FILLER option. Results are similar for languages other than COBOL.

FORCHECK Command

The FORCHECK command instructs the DDL compiler to:
Perform FORTRAN syntax checks as though the compiler were going to produce
FORTRAN source code, but without actually generating the code.
List messages describing any warning or error conditions discovered during
syntax checking.
[ NO ] FORCHECK
FORCHECK
performs the FORTRAN syntax checks as though FORTRAN source code were
being produced. If a FORTRAN source file is open, FORCHECK is the default.
NOFORCHECK
terminates the FORTRAN checking. If a FORTRAN source file is not open,
NOFORCHECK is the default.
FORCHECK Command Guidelines
The following points are guidelines for using the FORCHECK command:
If a FORTRAN source file is open, the compiler performs the FORTRAN checks
whether or not FORCHECK is set.
You can stop FORTRAN syntax checking with a NOFORCHECK command; you
can restart checking with a subsequent FORCHECK.
Data Definition Language (DDL) Reference Manual—426798-002
9- 62
FORCHECK Command

Advertisement

Table of Contents
loading

Table of Contents