Continuously Read data from Oracle

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Continuously Read data from Oracle

Post 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.
Thanks,
Ankur Saxena
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not really seeing a question... but it sounds like you just need to use a sparse lookup.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post 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.
Thanks,
Ankur Saxena
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Same answer.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Thanks Craig. It worked.
Thanks,
Ankur Saxena
Post Reply