Table of Contents

Search

  1. Preface
  2. Introduction
  3. Program Design
  4. SSA-NAME3 Functions
  5. Language Specific Guidelines
  6. Controls
  7. Advanced Controls
  8. Composite Keys
  9. Address Standardization
  10. ASM Workbench
  11. SSA-NAME3 Error Messages

SSA-NAME3 API Reference Guide

SSA-NAME3 API Reference Guide

Example

Example

We have a search where we want to find records with the same Telephone Number or records with no Telephone Number. If we have a composite key that includes the Telephone Number then it will not find the record where the number is missing unless we add a range.
When building the index we can use:
FIELD=Person_Name,Telephone_Number
This will build composite keys using two fields,
Person_Name
and
Telephone_Number
.
At search time we add the keyword to build the NULL range for
Telephone_Number
so that a range will be built with a NULL value.
FIELD=Person_Name,Telephone_Number NM3KEYWORDS=Telephone_Number:INSERTNULLCLOSINGRANGE
Without the
NM3KEYWORDS
control and
INSERTNULLCLOSINGRANGE
records with no Telephone Number will not be found.
The
Person_Name
part of the composite key will not be the NULL key - that can be added using
INSERTNULLCLOSINGKEY
. To avoid the range where all parts of the composite key are the NULL key you can use the
NONULLKEY=Y
control.

0 COMMENTS

We’d like to hear from you!