Does anybody have any hints regarding how to reject rows in a transformer when they have NLS Errors?
My Job Looks like : XML Input file --> Transformer --> Hash File
What I want to do is to check NLS compatibility in every row I read in the transformer and reject the ones not compatible or the ones that produce warnings in the Job log. So at the end I can check and have a Report which rows are having Problems
Thanks a lot in advance
Rgds
Max
How to Reject Rows having NLS mismatch
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Invoke a routine that applies an Oconv() function specifying the NLS map, and check the value of Status(). It will be 0 if the NLS mapping was successful, or a non-zero value otherwise. Use that result to determine whether to reject the row or not.
Last edited by ray.wurlod on Thu May 16, 2013 1:57 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: