Question on information analyzer

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
midmaxds
Premium Member
Premium Member
Posts: 71
Joined: Mon Oct 26, 2015 11:44 am

Question on information analyzer

Post by midmaxds »

This is related to Information analyzer and Datarules stage:

Suppose we have a file which contains 10 columns, and we have 10 Information analyzer rules binded to them.
. When we run the job after configuring the rules, we get to know that, 1 rules fails out of 10.

Normally the record would go in the invalid data file ; but we want data of the 9 columns in the valid data file and NULL in the place of that column which got failed.
Ideally, that record should move to the file which has all rules passed.

Is this doable in Datarules stage? Or do we have an alternative solution?
Midhun
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's most easily accomplished - and far more efficient to process* - if you construct a Rule Set definition and use the Rule Set derived from that.

* Benchmarks suggest that a ten-rule Rule Set can process in roughly 18% of the time required for ten individual Data Rules.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
JRodriguez
Premium Member
Premium Member
Posts: 425
Joined: Sat Nov 19, 2005 9:26 am
Location: New York City
Contact:

Post by JRodriguez »

Executing from DataStage data rule stage is a viable solution, you have way more control of the process in a DataStage job/sequence than what you have when executing directly from IA....
Julio Rodriguez
ETL Developer by choice

"Sure we have lots of reasons for being rude - But no excuses
Post Reply