ReferencePriority Function

Number of input and output field

Number of input field : One
Number of output field : One

This transformation function is used to retrieve a reference based on the best matching references.

The parameters of this transformation function are :
The lookup process works as follows:
Example: File reference ref.txt with the following content:
54|SMS events||||SMS Remote Area|
54|OSMSAC||SMS MO|SMS CDMA & Analog||
54|OSMSAC||SMS MO||SMS CDMA & Analog|
54|OSMSFX||SMS MO||SMS FIXED|
54|OSMSFX||SMS MO|SMS FIXED||
54|OSMSIM||SMS MO||SMS IM3|
54|OSMSIM||SMS MO|SMS IM3||
54|OSMSLN||SMS MO||SMS IDD|
54|OSMSLN||||Promo SMS IDD|
54|OSMSLN||||SMS IDD|
54|OSMSLN||SMS MO|SMS IDD||
54|OSMSLN||||Promo SMS IDD|
54|OSMSMC||SMS MO||SMS ISAT|
54|OSMSMC||SMS MO|SMS ISAT||
54|OSMSNA||SMS MO|SMS Natrindo||
54|OSMSNA||SMS MO||SMS Natrindo|
54|OSMSPS||SMS MO||SMS Primasel|
54|OSMSPS||SMS MO||SMS Primasel|
54|OSMSSC||SMS MO||SMS Short Code|
54|OSMSSC||SMS MO|SMS Short Code||
54|OSMSTL||SMS MO|SMS Telkomsel||
54|OSMSTL||SMS MO||SMS Telkomsel|
54|OSMSXL||SMS MO||SMS Excelcom|
54|OSMSXL||SMS MO|SMS Excelcom||

The stream input data is as follows:
54|A|SMS MO|SMS Excelcom|SMS Excelcom|
54|B|SMS MO|SMS Telkomsel|SMS Telkomsel|
54|C|SMS MO||SMS ISAT|

The ReferencePriority function with the following parameters:

The output (REV_CODE) of this transformation function are:
OSMSXL
OSMSTL
OSMSMC