Page 1 of 1

Warning message limit

Posted: Tue Jun 07, 2011 9:42 am
by mail2krishna79
Hi,
sometimes i am getting warning messages a lot(same warning message).
For example.
APT_CombinedOperatorController(0),0: Null string argument.

Above warning message repeating multiple times.
Is there any technique to limit 2 or 3 warning messages?

Posted: Tue Jun 07, 2011 2:48 pm
by ray.wurlod
Sure. Limit the number of null string arguments.

Posted: Tue Jun 07, 2011 6:26 pm
by chulett
In other words, treat the disease and not the symptom.

Posted: Wed Jun 08, 2011 12:07 am
by chandra.shekhar@tcs.com
you have not handled for the columns for which you are getting null from the source. Try one of these solutions:
1. Use IsNull() or IsNotNull where ever required in Transformer.
2. Also if your target is a seq file then Use Null field value constraint and make equal to ''. thats it
3. If you just want to limit the number of warnings then you can add a message handler constraint inthe Director as well.