Previous Topic: &NDBOPEN

Next Topic: &NDBPHON Exit Call Details


&NDBPHON

Returns a phonetic value for a character string, typically a name.

&NDBPHON { SOUNDEX | USER } data

Operands:

SOUNDEX | USER

Controls the type of phonetic conversion to be performed.

SOUNDEX performs standard SOUNDEX encoding on the supplied data. See Knuth, Art of Computer Programming, Vol III, pp. 391-392.

USER drives the NDBPHON user exit. If there is no exit, a syntax error results. The user exit parameters are described below.

data

Specifies the source data to pass to the conversion (for example, a surname). The data is always converted to upper case before processing.