Just wanted to share with you all a dumb-attack that has held me up for a few days.
Put simply: I forgot that the following statement is False:
NULL <> 'Something'
Perhaps it's fundamental database knowledge, but my programmer brain took ages to consider even the possibility that a Null, compared with something, could be not not equal. I mean, NULL isn't something. So how can they possibly be not unequal?
Sigh. Didn't help that the tool I'm using (DataStage) doesn't have absolutely brilliant debugging capabilities...
Anyway, I'm over it. Feel free to point and laugh (or will someone, anyone, please say "oh, I didn't know that either!" :-) )