If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > error when update in federated table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-26-04, 20:12
melb melb is offline
Registered User
 
Join Date: Aug 2003
Location: AUS
Posts: 26
error when update in federated table

HI all,

I have got table AA in my local database and got table BB in federated server.

I have got a procedure which

CREATES TEMP_AA and TEMP_BB tables.
I am using TEMP_AA to load the upload data from TABLE AA, do some mapping to TEMP_BB and move the content of TEMP_BB to BB(FEDERATED).
and drop the TEMP tables. BUT IA M getting the following error.
SQL30090N Operation invalid for application execution environment. Reason code = 18.

it is propblem with 2 phase commit.

can anyone help me.

cheers
MELB
Reply With Quote
  #2 (permalink)  
Old 05-26-04, 23:05
melb melb is offline
Registered User
 
Join Date: Aug 2003
Location: AUS
Posts: 26
hi all ,
the error has been fixed by adding a commit before insert into the federated table.

cheers
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On