DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 89
PASCALCHECK Command
°
A name cannot be longer than 31 ASCII characters. A name might become
longer because DDL 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.
PASCALCHECK Command Example
The following listing shows the error messages generated by the Pascal check on a
single DEFINITION statement:
When PASCALCHECK is in effect, DDL issues the following message for each DDL
object that passes the syntax check:
PASCAL CHECK completed for name
In this message,
name
is the name of the object checked by PASCALCHECK.
?PASCALCHECK
DEF TRANSPORT.
02 CASE PIC X(10).
02 ORIGIN PIC X(10).
02 DESTIN PIC X(10).
02 LABEL PIC X(10).
02 PACKED PIC X(10).
END.
Definition TRANSPORT size is 50 bytes.
Definition TRANSPORT added to dictionary.
*** WARNING *** PASCAL OUTPUT DIAGNOSTICS:
*** ERROR *** Reserved word - CASE
*** ERROR *** Reserved word - LABEL
*** ERROR *** Reserved word - PACKED
*** WARNING *** Errors detected - no output produced for TRANSPORT
?NOPASCALCHECK
Start syntax checking
Turn off checking
VST921.vsd