Data Definition Language (DDL) Reference Manual

Definition Attributes
Data Definition Language (DDL) Reference Manual529431-004
6-45
TACL
TACL
The TACL clause specifies the TACL data type to which a DDL data item is to be
converted when generating TACL source code.
type
is the TACL data type to which the DDL data type is to be converted.
{ CRTPID }
{ DEVICE }
{ ENUM }
{ FNAME }
{ FNAME32 }
{ PHANDLE }
{ SSID }
{ SUBVOL }
{ TRANSID }
{ TSTAMP }
{ USERNAME }
The TACL clause can be specified in a field or group DEFINITION statement.
The DDL compiler generates TACL data types only when a TACL command is
specified; however, the DDL compiler checks that the length of the DDL data item
matches the specified TACL data type whether the TACL command is specified or not.
The DDL compiler issues an error message when the lengths do not match.
If the TACL clause is omitted, the DDL compiler translates the field or group to a TACL
STRUCT that corresponds to the DDL data type. For a table showing the standard
data-type translations for TACL, see Table C-5 on page C-9.
If a TACL data type is associated with a DDL data item defined with an OCCURS
clause, each occurrence of the DDL data item must be the same length as the
associated TACL data type.
The DDL compiler aligns on word boundaries all DDL data items associated with TACL
data types.
If fields or groups associated with TACL data types are nested, all but the outermost
TACL data type is ignored. Thus, if a TACL data type is specified for a group and a
TACL data type is also specified for a field within the group, the DDL compiler uses
only the group’s TACL data type, ignoring the field’s TACL data type.
If a DDL data item is defined by referring to an existing definition:
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.
TACL type