IA: Dynamic Data Quality Rule In Information Analyzer

This forum contains ProfileStage posts and now focuses at newer versions Infosphere Information Analyzer.

Moderators: chulett, rschirm

Post Reply
pranabdas
Participant
Posts: 6
Joined: Wed Nov 23, 2005 5:18 am

IA: Dynamic Data Quality Rule In Information Analyzer

Post by pranabdas »

Hi,

I need to write Dynamic Data Quality Rule In IA like below ~

If Country = 'Finland' Then VAT should have 10 characters with first 2 character as 'FI' and last 8 as digit (i.e. FI12345678)
If Country = 'Belgium' Then VAT should have 12 characters with first 2 characters as 'BE' and last 10 as digit with leading 0 (e.g. BE0123456789)
.......
......
In this way I have to check for 10 Countries.

My question: Is there any way to write IA Code dynamically like, if I want to run only for Finland at run time we can provide country name as Finland and Quality Rule (If Then) for Finland will run.

Please suggest.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not within the rule itself. But you could apply a Filter to the data being profiled.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rjdickson
Participant
Posts: 378
Joined: Mon Jun 16, 2003 5:28 am
Location: Chicago, USA
Contact:

Post by rjdickson »

You could create a virtual table for each country, and then run the country rule against the country virtual table.
Regards,
Robert
Post Reply