GSSNDX - geostan_1 - 2024.01

GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > GeoStan
Version
2024.01
Language
English
Product name
GeoStan
Title
GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-07-29
Published on
2024-07-29T23:01:18.924000

Generates a soundex key for use in GSFFSET.

Syntax

01 LSTATUS          PIC 9(9) BINARY.
01 NAME             PIC X(USERLEN).
*
CALL "GSSNDX" USING NAME, LSTATUS.

Arguments

NAME   String to convert to a soundex key. Input.

LSTATUS   Return code. Output.

Return Values

Soundex key

Notes

This procedure generates a soundex key for a street name. Use it in conjunction with GSFFSEG when you want to perform a soundex search. The soundex key, when combined with a locale (state and city), is the primary index into the GeoStan databases. Searching by soundex allows you to use your own scoring and matching mechanism for geocoding.

Note: A soundex match is a match based on the pronunciation of a field, not on the spelling of a field.

GeoStan uses a modified version of the standard soundex algorithm first published by Donald Knuth. The modifications made by Precisely include special treatment of certain prefixes such as MAC, KN, and WR; special treatment for numeric street names; and an encoding scheme to pack the key into the smallest number of bits.