View previous topic :: View next topic
|
Author |
Message |
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
Hi all,
I've something interesting to solve now.
I've an IMS DB with one single segment and one single field defined in it, which acts as the key for the segment and defined as unique key.
Just to give you a brief background, the database of interest (is in test region)was recently refreshed from the production databases. And once after the refresh is done the database is allowing the insertion of duplicate keys.
I'll detail you the scenario.
* If I try to repeat any record using IMS FM, it is allowing the duplicated record without any 'II'.
* But if I again try to insert this duplicate (i.e. 3 same records to be added), it is throwing an 'II'
* Similarly I added a new record to the DB. And when I tried to browse through the DB, interestingly this record is not shown up.
* But when I tried to reinsert this record, 'II' is being thrown.
* The same is the case when trying with a job to insert records.
It is quite strange to my knowledge. Is there any chance that the key constraints are not properly registered in the DB when the refrsh happened? The DBD definition of the DB is too simple such that no chance of anything going wrong.
Also I've checked the Refresh jobset up, DBRC components and all.
I could not find anything wrong.
Can anyone of you please help me out in this?
Thanks in advance,
Reni |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you work with your dba to determine what has been broken (or at least bent). |
|
Back to top |
|
|
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
Thanks Dick Sch.
But I requested for the solution, expecting some DBAs from the forum could help on this, as our DBA team is also finding this problem as tough.
Anyone from the team can help me on this?
Thanks,
Reni. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, we know you wanted a solution. When your request went for 8 hours with no response, i suggested following the course that usually gets answers quicker anyway.
If you had already presented this to your dbas and got no answer, it would have been good to mentoin this. . .
From what you have posted so far, it sounds like there is an out-of-sync - i.e. there may be 2 sets of data in play.
If all else fails, contact IBM support. |
|
Back to top |
|
|
|