Author |
Message
|
kiranmvr |
Posted: Thu Oct 10, 2013 11:13 am Post subject: Can MB 7.0 on z/OS extract/update SQL Server 2012 data? |
|
|
Newbie
Joined: 10 Oct 2013 Posts: 5
|
Hello Gurus,
Need your inputs around how to extract and update data from SQL Server 2012 database from Message Broker V7.0 running on Z/OS. We initially thought of using Database Input Node of MB. But as MB 7 on z/OS doesn't seem to support SQL Server as per IBM 7.0 info center, would there have to be some custom code / custom node to connect to SQL Server? Any Ideas around this topic would be greatly appreciated. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Oct 10, 2013 12:28 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
I believe it will work with JDBC and nodes that use JDBC. |
|
Back to top |
|
 |
kiranmvr |
Posted: Thu Oct 10, 2013 2:59 pm Post subject: |
|
|
Newbie
Joined: 10 Oct 2013 Posts: 5
|
Thanks for your reply.
Yes, we can use JDBC type 4 connection to access any database from z/OS. But I am trying to implement event polling mechanism where my Message Flow or node can detect events recorded in SQL Server database and then retrieve the data for those events. Some thing like JDBC Adapter or Database Input Node does today.
So, when a change is made to the database (INSERT or UPDATE), I want the flow to go retrieve the rows and send it to downstream systems.
Thanks in advance. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Oct 10, 2013 3:04 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You could use some kind of external database replication to move the data into a db2 table that could be read by the DatabaseInput node.
Or you could use TimeoutNotification to trigger a JCN or databaseretrieve node that uses JDBC.
Or you could do the sensible thing, and write a trigger or something on the sqlserver that would put the records onto an MQ queue and have MQ move the message to the broker on zOS. |
|
Back to top |
|
 |
kiranmvr |
Posted: Thu Oct 10, 2013 4:08 pm Post subject: |
|
|
Newbie
Joined: 10 Oct 2013 Posts: 5
|
Thanks Jeff. The last two options sounds sensible. Will work towards those options.
Thanks for your advice. |
|
Back to top |
|
 |
|