Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 44
TACL Clause
TACL Clause
The TACL clause specifies a high-level TACL data type to which an associated DDL
data item is converted when DDL generates TACL source-code output from a DDL
definition or record.
type
is a high-level TACL data type to which the DDL data type is to be converted.
TACL Clause Guidelines
The following points are guidelines for using the TACL clause:
•
The TACL clause can be specified in a field or group DEFINITION statement.
•
DDL generates TACL data types only when a TACL compiler command is
specified. However, DDL checks that the length of the DDL data item matches the
specified TACL data type whether the TACL command is specified or not. DDL
issues an error message when the lengths do not match.
•
If the TACL clause is omitted, DDL 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
Appendix C, DDL Data Translation
.
•
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.
•
DDL 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, DDL uses
only the group’s TACL data type, ignoring the field’s TACL data type.
TACL type
type is: { CRTPID }
{ DEVICE }
{ ENUM }
{ FNAME }
{ FNAME32 }
{ PHANDLE }
{ SSID }
{ SUBVOL }
{ TRANSID }
{ TSTAMP }
{ USERNAME }