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
dynamic pattern action lang code
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.