Hi...
I have a simple job like the following.
ODBC Stage ---------> Transformer ---------> Dataset.
In odbc, I am using a sql with an "IN" statement where in I want to give comma separted values. This comma separated values I want to give as a job parameter.
select X,Y,Z from TABA where state in ('A','B','C')
Even though I pass 'A','B','C' in the job parameter, datastage automatically remove that and the SQL is running with 'A,B,C'. Why it is automatically removing that? How to prevent or any alternative method to pass my desired value there.
Please request to help me here.
Job Parameter removing quotes
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 238
- Joined: Fri Jul 25, 2008 8:55 am
Job Parameter removing quotes
Last edited by myukassign on Sat Jun 11, 2011 10:29 am, edited 1 time in total.
-
- Premium Member
- Posts: 238
- Joined: Fri Jul 25, 2008 8:55 am
Yes, I searched and got my solution. Thanks Chullet.
For the interest of anyone who search for this the solution is here.
viewtopic.php?t=128561&highlight=
For the interest of anyone who search for this the solution is here.
viewtopic.php?t=128561&highlight=