DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -106
TALALLOCATE Command
END;
STRUCT ADDR;
BEGIN
STRUCT ADDRESS;
BEGIN STRING BYTE [1:22]; END;
STRUCT CITY;
BEGIN STRING BYTE [1:14]; END;
STRUCT STATE;
BEGIN STRING BYTE [1:2]; END;
STRUCT ZIP^CODE;
BEGIN STRING BYTE [1:5]; END;
END;
END;
LITERAL CUSTOMER^CUSTNUM^KEY = %000000;
LITERAL CUSTOMER^CUSTNAME^KEY = %061556; !"cn"
TALALLOCATE Command
The TALALLOCATE command allocates memory in pTAL or TAL for single-field
definitions. NOTALALLOCATE enables DDL to generate pTAL or TAL source code for
single-field definitions without memory allocation. When NOTALALLOCATE is in effect,
DDL translates single-field definitions into pTAL or TAL DEFINEs or STRUCT
templates.
TALALLOCATE
allocates memory for single-field definitions when the TAL command is in effect.
TALALLOCATE is the default.
NOTALALLOCATE
suppresses memory allocation when the TAL command is in effect, causing DDL to
translate single-field definitions into pTAL or TAL DEFINEs or STRUCT templates.
TALALLOCATE Command Examples
The following examples show pTAL or TAL output for the same DDL definitions when
TALALLOCATE is in effect and when NOTALALLOCATE is in effect.
DDL Type:
pTAL or TAL Type:
?TALALLOCATE
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. INT STATUS;
END.
DEF letter Pic "X". STRING LETTER;
[ NO ] TALALLOCATE
Содержание 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 ...