473,382 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

two phase commit?

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.

Problem is I cant find this in the SQL Reference. Can anyone point out
where in the SQL Ref this is described.
Thanx in advance
/Lennart
Nov 12 '05 #1
4 4491

"Lennart Jonsson" <le*****@kommunicera.umea.se> wrote in message
news:6d**************************@posting.google.c om...
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.

Problem is I cant find this in the SQL Reference. Can anyone point out
where in the SQL Ref this is described.

It might help if you could tell us which operating system you are using and
which version of DB2 you are running.

Rhino
Nov 12 '05 #2
Just read ahead a little more in the SQL Reference,
"Server options for federated systems" in the Federated Systems Guide

"Lennart Jonsson" <le*****@kommunicera.umea.se> wrote in message
news:6d**************************@posting.google.c om...
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.

Problem is I cant find this in the SQL Reference. Can anyone point out
where in the SQL Ref this is described.
Thanx in advance
/Lennart

Nov 12 '05 #3
"Rhino" <rh****@NOSPAM.sympatico.ca> wrote in message news:<2o********************@news20.bellglobal.com >...
"Lennart Jonsson" <le*****@kommunicera.umea.se> wrote in message
news:6d**************************@posting.google.c om...
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.

Problem is I cant find this in the SQL Reference. Can anyone point out
where in the SQL Ref this is described.

It might help if you could tell us which operating system you are using and
which version of DB2 you are running.

Rhino


Sorry about that:

Redhat Enterprise AS
DB2 V8.1 fixpak 5

/Lennart
Nov 12 '05 #4
"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message news:<69******************@newssvr15.news.prodigy. com>...
Just read ahead a little more in the SQL Reference,
"Server options for federated systems" in the Federated Systems Guide


Thanx, I think I have found it
/Lennart

[...]
Nov 12 '05 #5

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

Similar topics

2
by: William Chan | last post by:
Dear all, When two systems are talking to each other by messaging mode (e.g. MQ), is there any way, system level and/or application level, to maintain transaction control (unit of work) across...
4
by: MelApiso | last post by:
Hi, I have two databases in the same instance, sourcedb and targetdb. In sourcedb I created one table (t1). In targetdb I created another table (t2). In sourcedb I created one nickname (N2) for...
1
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...
2
by: Ravi Sankar | last post by:
Hi, I have been working in quite a big project that is split into two phases. The phase I part of ASP.Net web application is live and under maintenace now. We have started design of phase II....
4
by: Josh Golden | last post by:
i lead a small development team (based on some of my posts that might cause some people to choke themselves, but have no fear, i am NOT the lead developer, the people on my team are great - i'm...
5
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
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
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...
1
by: TheAndroid | last post by:
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.