IFCID142: Audit DDL Create/Alter/Drop
The IFCID142 DD contains the extracted IFCID 142 (Audit DDL Create/Alter/Drop) records, which contain the record of CREATE, ALTER, and DROP statements against tables that are audited or that have multilevel security defined at the row level.
Fields
- AUDIT DDL
- ALTER, CREATE, or DROP.
- TABLE NAME
- The table name that is being created, altered, or dropped.
- TABLE OWNER
- The table owner (same as table qualifier).
- TABLE OWNER TYPE
- The table owner type. TABLE OWNER TYPE can have the following values:
- PRIMARY OR SECONDARY AUTH ID
- ROLE
- TABLE CREATOR
- The table creator.
- OPTIONS
- The options used in the host to check the SQL statement. The bits of this field are used as indicators. If all bits are 0, the statement is not an SQL statement. See the OPTIONS field of IFCID140: Audit Authorization Failures for a full description of the bits of this field.
- DATABASE
- The database ID.
- TABLE OBID
- The object ID.
- SECLABEL OF MLS TABLE
- The security label of the Multilevel Security (MLS) table.
- MULTILEVEL SECURITY
- Shows the multilevel security (MLS) status as follows:
- Y (on CREATE or DROP of an MLS Table, or ALTER to add a SECLABEL column)
- N (on ALTER of an MLS table)
- NON-MLS
- N/A
- ROW/COLUMN ACCESS CONTROL
- Shows the row and column access control status. The field can have one of the following values:
- ACTIVATE ROW ACCESS CONTROL
- ACTIVATE COLUMN ACCESS CONTROL
- ACTIVATE ROW AND COLUMN ACCESS CONTROL
- NO ACCESS CONTROL
- N/A
- SQL STMT
- The SQL statement text. Long SQL text can be truncated.
Example
AUDIT DDL
ALTER TABLE NAME : TBCCDB2A
TABLE OWNER : SCCCDB2A
TABLE OWNER TYPE: N/A
TABLE CREATOR: USRT001
OPTIONS : X'0400000000000000'
DATABASE : 00269
TABLE OBID : 00003
SECLABEL OF MLS TABLE: L3C234
MULTILEVEL SECURITY : N (on ALTER of an MLS table)
ROW/COLUMN ACCESS CONTROL: NO ACCESS CONTROL
SQL STMT: ALTER TABLE SCCCDB2A.TBCCDB2A ALTER COLUMN NAME SET DATA TYPE VARCHAR(10)