Page 1 of 1

Continuously Read data from Oracle

Posted: Tue Nov 29, 2016 7:07 pm
by ankursaxena.2003
Hi,

I have an MQ Job which reads data from Queue and then does a LKP on table A and then writes into table B. Table A is being populated by some other system in real-time.

Table A
|
|
|
MQ ------------------ LKP ------------------ Table B

Question: System will put message in MQ and other system will insert a row into Table A. And I have to get few columns from Table A. So I would like my datastage job to read the new record inserted in Table A.

I am using Oracle connector to read Table A.

Posted: Tue Nov 29, 2016 8:45 pm
by chulett
Not really seeing a question... but it sounds like you just need to use a sparse lookup.

Posted: Tue Nov 29, 2016 8:50 pm
by ankursaxena.2003
Basically I want to dynamically read data from Table A.

My MQ job will be running continuously so if a record is inserted in table A, then my job should read that new record immediately in job.

Posted: Wed Nov 30, 2016 7:46 am
by chulett
Same answer.

Posted: Wed Nov 30, 2016 3:07 pm
by ankursaxena.2003
Thanks Craig. It worked.