Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 45
TACL Clause
•
If a DDL data item is defined by referring to an existing definition, the following
applies:
°
When the referring definition does not include a TACL clause, it inherits any
TACL data type specified in the referenced definition.
°
When the referring definition includes a TACL clause, the specified TACL data
type overrides any TACL data type specified in the referenced definition.
°
The DDL field or group of fields must be the same length as the TACL high
level data type. The length in bytes of each high-level TACL data type is shown
in
Table 6-5
.
TACL Clause Examples
To illustrate the TACL high-level data types produced by the TACL clause, the following
two DEFINITION statements show the source code generated when a TACL clause is
specified and when it is not.
The following DEFINITION statement has a TACL clause that specifies type CRTPID:
?TACL
DEF term-id TYPE CHARACTER 8 TACL CRTPID.
This DEFINITION statement generates the following TACL data structure:
The following definition does not have a TACL clause:
?TACL
DEF term-id TYPE CHARACTER 8.
Table 6-5. Lengths of TACL Data Types
TACL Type
Byte Length
CRTPID
8
DEVICE
8
ENUM
2
FNAME
24
FNAME32
32
PHANDLE
20
SSID
12
SUBVOL
16
TRANSID
8
TSTAMP
8
USERNAME
16