Service is called from an Application, it first takes the Name-in and passes it through a number of other SSA-NAME3 Services. The order in which these Services are called is as follows:
Multi-Value Field processing - the name is examined for multiple entities. It is examined for Compound Names if
SSA-NAME3-OPTIONS #2
is set, and examined for Account Names if
SSA-NAME3-OPTIONS #25
is set.
Cleaning - the name (or names if MVF found more than one name) is/are cleaned by the Cleaning
Service and associated Character Set tables. The result of this operation is placed in the output ’Cleaned Name’ parameter.
Formatting - the Cleaned name (or names if MVF found more than one name) is/are Formatted by the Formatting routine and associated Edit List. The results of this operation are placed in the Words-stack.
Word Stabilization - the Formatted words are stabilized by theWord Stabilization routine. The stabilized word values are not passed back to the application in the NAMESET Call.
Only after these four processes have taken place is the name (or names) ready to have keys or key search ranges built for it/them.
NAMESET next examines the Function parameter;
Provided that a Function of
NOKEYS
was not specified, a Keys-stack will be built. To determine what type of keys and how many to build, various Algorithm options are checked.
Provided that a Function of
NOSTAB
was not specified, a Search-table will be built. To determine what type of search table to build, the NAMESET Function is checked as well as various Algorithm options.
For more information on the Algorithm options which control NAMESET key and search range building, refer to the
DEFINITION and CUSTOMIZATION GUIDE FOR SSA-NAME3 SERVICE GROUPS