Page 1 of 1

how to use 'IN' function in datastage

Posted: Tue Oct 22, 2013 7:46 am
by bob7027
Hello every one!!.

how can i use 'IN' function in datastage transformer.
Advance Thanks.

Posted: Tue Oct 22, 2013 7:53 am
by ArndW
By "IN" do you mean the SQL DML type, i.e. "WHERE cola IN (1,2,3)"?

Posted: Tue Oct 22, 2013 8:07 am
by bob7027
Thanks For the reply ArndW

Yes

Posted: Tue Oct 22, 2013 8:44 am
by priyadarshikunal
You can use index function. but if you have two values where one is a substring of another then it is a bit tricky, You can try adding a leading and trailing delimiter.