SOUNDEX
The SOUNDEX function returns a four-character code that represents the sound of the single argument. The product can compare the result with the results of the SOUNDEX function of other strings.

expression must return a character, or a varying character. The string is cast to Unicode SBCS CCSID 367 before generating the SOUNDEX code.
The data type of the result is CHAR (4) in Unicode SBCS CCSID.
The SOUNDEX function is useful for finding strings for which the sound is known but the precise spelling is not. The function's assumptions about the way letters and combinations of letters sound can help you search for words with similar sounds. The SOUNDEX function produces the same code as the Db2 SOUNDEX function. The Special Census method generates the code.
Related topics