DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -109
TALCHECK Command
NOTALCHECK
terminates the TALCHECK checking. If a pTAL or TAL source file is not open,
NOTALCHECK is the default.
TALCHECK Command Guidelines
The following points are guidelines for using the TALCHECK command:
•
If a pTAL or TAL source file is open, the compiler performs checks whether or not
TALCHECK is set.
•
You can stop pTAL or TAL syntax checking by specifying NOTALCHECK; you can
restart checking with a subsequent TALCHECK.
•
The DDL compiler does not perform the lengthy testing performed by the pTAL or
TAL compiler. The DDL compiler tests the DDL statements to ensure that they do
not violate the following rules of form specified by pTAL or TAL:
°
pTAL or TAL reserved words cannot be DDL names.
°
A constant value must not be greater than its defined limit.
°
A name cannot be longer than 31 ASCII characters, including suffixes (such as
^DEF, ^WLN, or ^KEY).
°
A REDEFINES clause cannot be at the level directly following that of a
definition or record.
TALCHECK Command Example
The following listing shows the error messages generated by the pTAL or TAL check
on a single RECORD statement:
When TALCHECK is in effect, DDL issues the following message for each DDL object
that passes the syntax check:
TAL CHECK completed for name
?TALCHECK
RECORD location.
FILE IS “$data.sales.location” Key-
sequenced.
02 resident PIC X(15).
02 loc PIC X(3).
02 code PIC 999.
KEY IS resident.
END
Record LOCATION size is 21 bytes.
*** WARNING *** TAL OUTPUT DIAGNOSTICS:
*** ERROR *** Reserved word - RESIDENT
*** ERROR *** Reserved word - CODE
?NOTALCHECK
Start syntax checking
Turn off checking
VST935.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 ...