Service Group Application Reference

Service Group Application Reference

User Exit Operation

User Exit Operation

A Formatting User Exit can be coded to handle country specific requirements in the following two areas:
Nick-name processing - this function is invoked to determine whether or not the word passed to it is a variation of a nickname, and if so, return the ’raw’ form of the nickname, such that it will match a nickname rule in the edit-list. Every word in the Words-stack is passed to this routine, so it must be coded efficiently.
Post Street name processing - only invoked if
FORMATTING-OPTIONS #7
is turned on.
Currently, only an English based User Exit is supplied, called
N3FTEN
. The way it services these two function requests is as follows.

N3FTEN Nickname Processing

This function checks if the word ends with a certain combination of letters preceded by a consonant.
The endings are
EE, EY, IE, EI, IA, AI, E, I, Y, A, O, IEE
or any double letter.
If so, it is assumed to be a nickname. The ending is temporarily stripped from the name and the preceding consonant is deduped and returned to the core formatting routine. If the resulting word is in the Edit-list as a nickname type then the word is replaced.

N3FTEN Post-Street Processing

This function is only invoked if the Algorithm Definition parameter
FORMATTING-OPTIONS #7
is turned on. If so, it is called to post-process Street Names, and contains special rules to better identify the most appropriate major word in a street name. It has the ability to modify the word-stack and/or select a different major. The rules are as follows:
  • examine the word preceding the Major Left Marker word. If it is a two alphabetic character word (such as NE or SE) and is not the first word then remove this word and choose the previous word as the street name (42 ND AVE will give 42).
  • otherwise choose this word as the street name if it is a number ending with two alphabetic characters then remove these characters (42ND AVE and 42 AVE will give 42).

N3FTEN Month Processing

This function is invoked by the Date Matching methods N3SCD and N3SCJ to translate the following month abbreviations to month numbers.
JAN. . . . . 01 FEB. . . . . 02 MAR. . . . . 03 APR. . . . . 04 MAY. . . . . 05 JUN. . . . . 06 JUL,JLY. . . 07 AUG. . . . . 08 SEP. . . . . 09 OCT. . . . . 10 NOV. . . . . 11 DEC. . . . . 12

0 COMMENTS

We’d like to hear from you!