Error
SQLCODE -538
Foreign key column count mismatch
Explanation
Foreign key and primary key column counts do not match.
Solution
Ensure foreign key references same number of columns as primary key.
Example
FK references only part of composite PK