I'm trying to create a rule to identify words to ignore and i'm referring to the VDATE/VPHONE ruelsets.
If any of the input column for a row is identified with IGNORABLE words then it is set.
For single pattern it works fine. But the Input string is of 7 Columns with N number of patterns.
Code: Select all
+ ;
COPY_S [1] temp
CONVERT temp @IGNORE.TBL TEMP
** | [temp = "IGNORE"] ; Table hit
COPY "I" {InvalidReason}
COPY [1] {InvalidData}
RETYPE [1] 0
RETURN
** ;Valid if we get here
COPY "T" {ValidFlag} OF VIGNORE
COPY data {ValidData} OF VIGNORE
RETYPE [1] 0
+|+ ;JAMES DUNGEON
^++++241 ABEL LANE WARD JAMES
Do i have to repeat for all possible number of patterns? Can someone help on this.
Thanks