Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-111
TALUNDERSCORE
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 follow the
rules 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.
When TALCHECK is in effect, the DDL compiler issues the following message for each
DDL object that passes the syntax check:
TAL CHECK completed for name
In the message, name is the name of the object checked by TALCHECK.
TALUNDERSCORE
The [NO]TALUNDERSCORE command replaces hyphens with underscores
[circumflexes] in DDL names for pTAL or TAL output.
Default: NOTALUNDERSCORE
TALUNDERSCORE
replaces each hyphen (-) with an underscore (_) in DDL names for pTAL or TAL
output.
Example 9-57. TALCHECK Command
?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
Start syntax checking
?NOTALCHECK
Stop syntax checking
[NO]TALUNDERSCORE