L542: name cannot be a column of primary key because it can contain NULL values.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -542, for information.