473,626 Members | 3,427 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Two-phase commit with Federated Database (AIX UDB 8.3)

All,
I'm having a difficult time trying to implement two-phase commits
across federated database members in UDB 8.3. I've tried using MQ (v
6.0) as the transaction manager and UDB tells me that having a 64bit
transaction manager and a 32bit database is not valid. I updated my
testing database to 64 bit but my 32 bit COBOL applications no longer
built correctly.
I have created an "in-process" XA transaction coordinator which
correctly handles updates when I am updating tables local to the
Federated database. However, once I do something across data sources,
I get an -30090 with a reason code 18. The primary complaint for this
reason code is there is a UOW already started using a one phase commit
source.
I don't understand what I don't have configured correctly. Is this
even possible?

Thanks in advance.

Andy
Jan 3 '08 #1
1 2696
Hmmm. I'm not sure that 2PC with Federated sources is supported in V8. I
know that Federated 2PC to non-IBM dbs is not supported till V9.

Larry

TheAndroid wrote:
All,
I'm having a difficult time trying to implement two-phase commits
across federated database members in UDB 8.3. I've tried using MQ (v
6.0) as the transaction manager and UDB tells me that having a 64bit
transaction manager and a 32bit database is not valid. I updated my
testing database to 64 bit but my 32 bit COBOL applications no longer
built correctly.
I have created an "in-process" XA transaction coordinator which
correctly handles updates when I am updating tables local to the
Federated database. However, once I do something across data sources,
I get an -30090 with a reason code 18. The primary complaint for this
reason code is there is a UOW already started using a one phase commit
source.
I don't understand what I don't have configured correctly. Is this
even possible?

Thanks in advance.

Andy
Jan 4 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4513
by: Lennart Jonsson | last post by:
I need to do a two phase commit (a transaction over a table and a nickname). Trying to do so gives me the error SQL30090N reason = 18 The suggested action is: If multiple data sources need to be updated within a unit of work, make sure the two_phase_commit server option has been set to 'Y' for all the data sources that need to be updated. See the SQL Reference for information on setting the value used for the two_phase_commit setting.
1
1870
by: _link98 | last post by:
On Linux or Solaris with UDB 8.2.2, can an SQL/PL stored-procedure use two-phase-commit with nicknames and if DB2 provides the Transaction-manager? i.e. in the same transaction, can an SQL/PL procedure update a local table and also update a nicknamed-table (in another database on the same hostname), before committing ? Is this possible, or must I have a CLI procedure and not use nicknames?
29
2100
by: Stefan Slapeta | last post by:
There have been many announciations that VC 8.0 will finally support two phase template lookup; now, after I installing VC 2005 Express I had to realize that it still doesn't! What has happend to these plans??? Stefan
1
1287
by: hharry | last post by:
hello all, i have a web service method which queries a database and returns the query result in an xml string. is it possible to implement a two-phase web service which returns an immediate confirmation response, and then the results ? i am looking at asynchronous web methods and msmq at the moment, but any pointers appreciated..
5
5447
by: Ravi Chirawala | last post by:
Is Two phase commit allowed in DB2? We need to update a local tables and few federated tables in a single Unit of Work. Is it possible to do ? Regards, Ravi
2
5581
by: amoon.ljlj | last post by:
Hello , My question is: does ms sql support two phase commit protocol? and Why if no. How if yes. Thank you
13
5583
by: paul.joseph.davis | last post by:
Hi, I've just had my first encounter with two-phase lookup and I'm scratching my head a bit. The idea behind two phase look up is pretty easy to understand, but I have a case that fails to compile although it appears to me that it should. template<typename TYPE> void foo( std::map< int, TYPE pmap )
0
8272
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8713
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8644
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8514
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7206
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4208
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2632
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.