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 > Replication fails.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-06, 00:49
riman riman is offline
Registered User
 
Join Date: Mar 2004
Location: Moscow
Posts: 11
Replication fails.

Hello all.
We have 5 AS/400 machines with v5r2m0 OS/400 installed (i don't remember fixpack number). I had configured replication from 4 of them into one. There is referential integrity constraints between tables within replicated schema. Target schema also have referential integrity constraints, so i defined one subscription set that unite all the tables (about 20) and allowed transaction mode processing with commit_count=1. Data blocking factor MAX_SYNCH_MINUTES=20.
Then i make a manual fullrefresh of target tables, perform start of capture and apply. When an application program perform database update on the source and apply program begins it cycle it says:
database connection started over tcp...
and then several errors: "insert is not allowed because of referential constraint <name> bla-bla-bla"
then apply quits with "apply ended normally".

why does it quits? it is defined with COPY_ONCE=*NO
and why does it fails with referential constraints?

the same design on windows machines runs succefully.

thanx in advance and sorry for bad english.
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