The rules for creating an exception table are as follows:
The information in the "message" column will be according to the
following structure :
Table 129. Exception Table Message Column Structure
| Field number | Contents | Size | Comments | ||
|---|---|---|---|---|---|
| 1 | Number of constraint violations | 5 characters | Right justified padded with '0' | ||
| 2 | Type of first constraint violation | 1 character | 
 'K' - Check Constraint violation 'F' - Foreign Key violation 'I' - Unique Index violation (See Note) 'L' - DATALINK load violation  | ||
| 3 | Length of constraint/index ID a/ DLVDESC b | 5 characters | Right justified padded with '0' | ||
| 4 | Constraint name/index ID a/ DLVDESC b | length from the previous field | 
 | ||
| 5 | Separator | 3 characters | <space><colon><space> | ||
| 6 | Type of next constraint violation | 1 character | 
 'K' - Check Constraint violation 'F' - Foreign Key violation 'I' - Unique Index violation 'L' - DATALINK load violation  | ||
| 7 | Length of constraint/index name/ DLVDESC | 5 characters | Right justified padded with '0' | ||
| 8 | Constraint name/ Index name/ DLVDESC | length from the previous field | 
 | ||
| ..... | ..... | ..... | Repeat Field 5 through 8 for each violation | ||
 
  | |||||
Table 130. DATALINK Load Violation DESCriptor (DLVDESC)
| Field number | Contents | Size | Comments | ||
|---|---|---|---|---|---|
| 1 | Number of violating DATALINK columns | 4 characters | Right justified padded with '0' | ||
| 2 | DATALINK column number of the first violating column | 4 characters | Right justified padded with '0' | ||
| 2 | DATALINK column number of the second violating column | 4 characters | Right justified padded with '0' | ||
| ..... | ..... | ..... | Repeat for each violating column number | ||
 
  | |||||