The &NDBPHON function is a phonetic conversion function which allows conversion of a character string into a phonetic key. The conversion algorithm supplied is SOUNDEX. However, a user-supplied exit can be called. The user exit can implement any approach to phonetic conversion.
The SOUNDEX algorithm is as per KNUTH (Art of Computer Programming, Volume III). The returned value is Knnn where K is the first character and nnn is the SOUNDEX coded value.
A sample exit, PHONEX01, shows how to write a phonetic exit. The NDBPHONX SYSPARMS supply the name of the user exit.
Allows an NCL procedure to automatically quote data for the &NDBADD, &NDBGET, &NDBSCAN, and &NDBUPD statements.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |