DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -108
TALCHECK Command
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
TALBOUND 1, the array bounds are:
[1:number]
TALBOUND Command Example
This example illustrates both TALBOUND settings:
The definitions for TEST0 and TEST1 are compiled into pTAL or TAL source code as:
TALCHECK Command
The TALCHECK command causes the DDL compiler to:
•
Perform pTAL or TAL syntax checks as though the compiler were going to produce
pTAL or TAL source code, but without actually generating the code.
•
List messages describing any error or warning conditions discovered during syntax
checking.
TALCHECK
performs the pTAL or TAL syntax checks as though pTAL or TAL source code were
being produced. If a pTAL or TAL source file is open, TALCHECK is the default.
[ NO ] TALCHECK
?TAL
.
.
.
?TALBOUND 0
DEF test0 PIC X(10).
?TALBOUND 1
DEF test1 PIC X(10).
Open TAL Source File
TALBOUND is 1 by default
Change TALBOUND to 0
Return to default setting
VST928.vsd
?SECTOPM TEST0
STRUCT TEST0;
BEGIN STRING BYTE [0:9]; END;
?SECTION TEST1
STRUCT TEST1
BEGIN STRING BYTE [1:10]: END;
TALBOUND 0 in source
TALBOUND 1 in source
VST929.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 ...