PHONETIC_ALGORITHM

The PHONETIC_ALGORITHM parameter sets a phonetic algorithm to use with the PHONETIC function, which calculates an index for alphanumeric values such as names, based on their pronunciation, so that words that have variations in spelling can be grouped together.

The syntax is:

SET PHONETIC_ALGORITHM = {METAPHONE|SOUNDEX}

where:

METAPHONE

Uses the Metaphone algorithm for indexing. Metaphone is suitable for use with most English words, not just names. Metaphone algorithms are the basis for many popular spell checkers. METAPHONE is the default algorithm, except on z/OS.

Note: Metaphone is not optimized in the SQL sent to a relational DBMS. Therefore, if you need to optimize the request for an SQL DBMS, the SOUNDEX value should be used.

SOUNDEX

Soundex is a legacy phonetic algorithm for indexing names by sound, as pronounced in English. SOUNDEX is the default algorithm on z/OS.