dynamic pattern action lang code

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
jreddy
Premium Member
Premium Member
Posts: 202
Joined: Tue Feb 03, 2004 5:09 pm

dynamic pattern action lang code

Post by jreddy »

Guys,

Usually, in pattern action language, we code for the tokens that we need to parse for the standardize stage.. for eg: if my job is to look for the token of DATE and then parse out the date value following the token, then we code for it accordingly.. but i have this problem where the tokens are not completely known upfront.. based on how many comments i was able to parse, business will keep giving me list of tokens..
My question is, is it possible to write some dynamic code.. almost like dynamic SQL.. lets say, in the input QS file, i provide token and comments, is there a way to generate dynamic pat code ..

any suggestions would be appreciated. Thanks in advance
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Basically, no. It's an iterative heuristic. You bucket them as either unhandled patterns or unhandled strings, then either add to the PAL for your rules or create rule overrides.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jreddy
Premium Member
Premium Member
Posts: 202
Joined: Tue Feb 03, 2004 5:09 pm

Post by jreddy »

thanks Ray..
Post Reply