SOUNDEX1 Routine With Modifier (S7) - trillium_discovery - trillium_quality - 17.2

Trillium Control Center

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.2
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium Control Center
First publish date
2008
Last updated
2024-07-01
Published on
2024-07-01T08:56:48.630530

The S7 modifier is used with the SOUNDEX1 routine to ensure compatibility with Series 7. The S7 modifier applies the same algorithm as in Series 7 to SOUNDEX1 routine. Use S7 when you want to obtain the same linking results as Series 7.

Note: All SOUNDEX related routines are limited to working with attribute sizes of 256 characters. If the attribute length exceeds 256 characters, the algorithm will be applied to the first 256 characters for all SOUNDEX routines. The algorithm will be applied to the last non-blank 256 characters for all RSOUNDEX routines.

Algorithm

  1. Capitalize all characters in the string.
  2. Retain the first character of the string.
  3. After the first position, convert all the following characters to blank: A, E, I, O, U, H, W, Y.
  4. Change characters from the following sets into the corresponding digits given:
    From characters To digit

    B, F, P, V

    1

    C, G, J, K, Q, S, X, Z

    2

    D, T

    3

    L

    4

    M, N

    5

    R

    6

  5. Return the first four characters of the string.
Table 1. Scoring for SOUNDEX1 Modifier S7

Score

Description

0

Case 1: Both strings are blank

Case 2: Neither string is blank and they are not equal.

50

One string is blank; the other string is non-blank.

100

Strings are equal.