DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -107
TALBOUND Command
DEF number Pic "9(5)". STRUCT NUMBER;
BEGIN STRING BYTE [1:5]; END;
?NOTALALLOCATE
DEF status TYPE ENUM BEGIN. LITERAL NO^ERROR = 0,
89 no-error. READ^ERROR = 1,
89 read-error. WRITE^ERROR = 6;
89 write-error VALUE 6. DEFINE STATUS = INT #;
END.
DEF letter Pic "X". DEFINE LETTER = STRING #;
DEF number Pic "9(5)". STRUCT NUMBER (*);
BEGIN STRING BYTE [1:5]; END;
TALBOUND Command
The TALBOUND command sets the lower bound for pTAL or TAL arrays. This value is
stored in the dictionary with the field or group definition.
TALBOUND 0
assigns any subsequent pTAL or TAL arrays a lower bound of 0.
TALBOUND 1
assigns any subsequent pTAL or TAL arrays a lower bound of 1. TALBOUND 1 is
the default.
TALBOUND Command Guidelines
The following points are guidelines for using the TALBOUND command:
•
You can use the TALBOUND command as often as needed to set different bounds
for different arrays.
•
DDL uses the value specified by the TALBOUND command when it writes an
element to the dictionary. After an element is in the dictionary, changing the
TALBOUND value has no effect on the pTAL or TAL output for that element. To
change the TALBOUND value for an entered element, you must replace the
element in the dictionary.
•
pTAL or TAL arrays are declared for fields and groups described with an OCCURS
clause, for fields described as TYPE CHARACTER, and for all fields described
with an alphanumeric PICTURE.
•
If you specify TALBOUND 0, the array bounds are:
[0:number - 1]
TALBOUNd { 0 | 1 }
Содержание 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 ...