Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-90
PASCALCHECK (D-Series Systems Only)
In the array bounds, number is the number of occurrences of a field described with an
OCCURS clause, or the number of characters in a field described with an
alphanumeric PICTURE or a TYPE CHARACTER clause.
If you specify PASCALBOUND 1, the array bounds are:
[1:number]
PASCALCHECK (D-Series Systems Only)
The [NO]PASCALCHECK command performs [suppresses] Pascal syntax checks on
subsequent data descriptions without generating code.
Default: PASCALCHECK if a Pascal source code file is open, otherwise
NOPASCALCHECK
PASCALCHECK
performs Pascal syntax checks as though Pascal source code were being
produced.
NOPASCALCHECK
suppresses Pascal syntax checks.
You can stop Pascal syntax checking by specifying NOPASCALCHECK; you can
restart checking with a subsequent PASCALCHECK.
The DDL compiler does not perform the lengthy testing performed by the Pascal
compiler. The DDL compiler tests the DDL statements to ensure that they follow these
Pascal rules:
A name cannot be longer than 31 ASCII characters. A name might become longer
because the DDL compiler appends _DEF or _KEY to the end of the name of a
definition, record, or key.
Pascal reserved words cannot be DDL names.
A Pascal named substructure that contains word data must be word aligned.
Example 9-44. PASCALBOUND Command
?PASCAL
...
Open Pascal source code file.
PASCALBOUND is 1 by default.
?PASCALBOUND 0
DEF test0 PIC X(10).
Change PASCALBOUND to 0.
?PASCALBOUND 1
DEF test1 PIC X(10).
Return to default setting
[NO]PASCALCHECK