Data Definition Language (DDL) Reference Manual
Definition Attributes
Data Definition Language (DDL) Reference Manual—529431-004
6-47
TACL
A TACL clause at the group level overrides any TACL clauses specified for fields within
the group.
If a definition or record is defined by referring to an existing definition and does not
specify a TACL clause, the referring object assumes any TACL clause in the
referenced definition. In Example 6-41 on page 6-48, the DEFINITION statement
inherits the TACL data type specified for group FNAME-DEF in Example 6-40
on
page 6-47.
Example 6-39. TACL Clause
DEFINITION Statement With TACL Clause
?TACL
DEF term-id TYPE CHARACTER 8 TACL CRTPID.
Structure Generated for DEFINITION Statement with TACL Clause
?Section TERM^ID Struct
Begin
CRTPID TERM^ID;
End;
DEFINITION Statement Without TACL Clause
?TACL
DEF term-id TYPE CHARACTER 8.
Structure Generated for DEFINITION Statement Without TACL Clause
?Section TERM^ID Struct
Begin
CHAR BYTE (0:7)
End
Example 6-40. TACL Clause at Group Level
DDL Input
DEF fname-def TACL FNAME.
02 volume TYPE CHARACTER 8 TACL CRTPID.
02 subvol TYPE CHARACTER 8.
02 file TYPE CHARACTER 8.
END
DDL Output (TACL Code)
?Section TERM^ID Struct
Begin
CRTPID TERM^ID; ! High-level TACL type: CRTPID
End;