UNIQUE WHERE NOT NULL indexes are allowed in DB2 for OS/390 and z/OS, but I don't believe they are allowed in DB2 for UNIX, Linux, and Windows.
In DB2 for UNIX, Linux, and Windows if can create a unique index on a column(s) which are nullable, nulls are treated like any other value and only one null value may exist in the table for the index key.
When creating an unique constraint, the columns must be defined as NOT NULL. This applies to DB2 for OS/390 and z/OS and DB2 for UNIX, Linux, and Windows.