Hi.
I have been facing an issue for a few days of messages mismatches.
We set the Match status using the following query
set
MTCH_STA = CASE ((coalesce (CR_AMT,0) +
:h_CR_AMT) - (coalesce(DB_AMT,0) + :h_DB_AMT))
WHEN 0 THEN 2 /* matched */
ELSE 1
END,
It seems that DB2 does not treat 0.00 as 0 some of the times as around 1/3rd of the messages remain unmatched even when the CR_AMT , DB_AMT are equal.
any ideas about this?