HASH with DB2 Multisystem The HASH function returns the partition number by applying the hash function to the specified expressions.