Page 1 of 1

DB2 Connector

Posted: Thu Oct 06, 2011 8:50 am
by _chamak
Hi,

Like Oracle, can we read a select stetement from from a file in DB2.
I have a select statement in a file and I need to read that file and develop a ETL job.

Can someone please advice?

Thanks

Posted: Thu Oct 06, 2011 9:14 am
by kommven
That was always attributed as a "must have" feature.
I surely know that its there in DB2 Connector Stage and EE Stage and Plug-in it should be there. I'm unable to check it as Plug-in is out in 8.5

Posted: Thu Oct 06, 2011 9:51 am
by _chamak
I am using 8.1 but still i dont see any.

Can you tell how to use it?

Posted: Thu Oct 06, 2011 10:23 am
by chulett
Let us know if this helps.

Posted: Thu Oct 06, 2011 10:23 am
by kommven
Again I don't have 8.1,

In 8.5 Connector Stage.
  • Select "Generate SQL" to "No"
    Select "Read Select Statement from file" to "Yes"
    click select statement box and "..." browse to your SQL file.
Note doing it in above order worked for me.

Posted: Thu Oct 06, 2011 11:09 am
by _chamak
chulett wrote:Let us know if this helps.
Simply awesome. Thanks a lot Chullet. It worked for me.

Thanks,