Hi All,
Greetings!!
Please have a look on below scenario and advise..
I have a table which holds Customer's different Heath Care ID's.
Each ID and it's description is present in a different Row of same table ( Cust_ID is join factor ).
Few ID's were derived from combination of couple of other "Health ID's".
The puzzle here is
In the LUA script, using
getcolumnvalue(Column1) we can only bring specific COLUMN of same row.
To handle derived "Health ID's" I need to call another row of same table to compare, Parse and Mask --> concatenate --> set as Target col.
Example :-
Table structure
Row PK Cust_ID Heath_ID ID_DESC RWUP_TSRow1 123456 555666
AB12345 Health ID 14 May 2020
Row2 123457 555666
AB12345001 Health ID Spouse 14 May 2020
Row3 123458 555666
AB123450001 Health ID Depen 14 May 2020
Row4 123459 555666
AB123450002 Health ID Depen 14 May 2020
Row4 123459 555666
AB12345D0002 Health ID Depen 14 May 2020
So, consider I am masking Row3 for Health_ID column, here I need to compare it with Primary Health ID ( same column value from Row1) and parse the data into two strings Mask the actual ID how I have masked the Row1 for same column and concatenate suffix zero's and ones. Finally set the target value with concatenated number
------------------------------
Harshavardhan Peddireddy
------------------------------
#InfoSphereOptim#Optim