ToLMF map
This example is based on MT540, but it is valid for any occurrence of 35B.
There will be a rule such as the following:
|
This rule can be amended to look for the alternative format given in the Usage Rules, and call another functional map:
|
The rules for the ToLMF_FinInstID_Altrntld map are as follows, assuming an input card name of 35B_Desc):
LMF Sub-field | Mapping rule |
|
|
All other fields can be set to NONE.
Using these rules, an input of the following:
:35B:/TS/IBM Ord
SCTY DESC EXTRA 1
SCTY DESC EXTRA 2
Gives the following LMF element:
<FinInstID s="" f="FinInstIDVar" q="">
<TickerSymbol>TS</TickerSymbol>
<LocalId>IBM Ord</LocalId>
<NarrativeVal>SCTY DESC EXTRA 1</NarrativeVal>
</FinInstID>