Parsing IMADs
Input Message Accountability Data (IMAD) is a unique number assigned to track each Fedwire transaction sent by a financial institution. The IMAD number is in a known format containing an embedded date, with characters that represent a routing code and then a sequence number.
ThePegaSI_Sample RuleSet provides a sample Transaction Reference pattern, FindFedIMAD, that can be cloned and modified as needed.
LocateStep
The parser recognizes inquiry references in the format ssssssssYYYYMMDDXXXXXXXX999999, where:
- ssssssss is one of the strings IMAD, SEQ, SEQUENCE, FEDWIRE, FED WIRE, WIRE, or FED
- YYYYMMDD is a date (which is validated)
- XXXXXXXX is an 8-character alphanumeric string
- 999999 is a 6-digit sequence number
The parser accepts cases where the string ssssssss is followed by a space, period, slash, colon, linefeed, or carriage return.
Manipulate/Translate Step
The output of the TRANSLATE step ensures that the value is a correctly formatted 6-digit IMAD.
Validate Step
May reference a WHEN block.
Map/Output Step
If the Test/Validate step returns TRUE, or no test/validate step is used and data has been successfully located, the output is saved as a property.
Previous topic Parsing sender - transaction references Next topic Parsing CHIPS sequence numbers