View previous topic :: View next topic
|
Author |
Message |
krishnadevanur
New User
Joined: 02 Aug 2006 Posts: 8
|
|
|
|
Hi,
I have a cobol program which is having SQL queries using two different DB2 regions (DBP3 and DBP4). The query which gets data from DBP4 will be fired on a view of a table belonging to DBP4. The query fired to DBP3, will fetch data from table in DBP3. I bound the program to DBP3 but the data which should come from DBP4 table's view is missing. How to bind this program ? |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
Krishna,
I suppose you need to use remote bind in this case, But for that you should first establish DDF connections. You have to update SYSIBM.USERNAMES table. Please contact your DBA for this setup.
Friends,
Please let us know, in case if there is any other method available for acheiving the same. |
|
Back to top |
|
|
krishnadevanur
New User
Joined: 02 Aug 2006 Posts: 8
|
|
|
|
Thanks for the info Srihari |
|
Back to top |
|
|
|