473,804 Members | 2,131 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SET integrity fails despite of for exception...

I was runing load and then set integrity with for exception clause,
still the statement failed , there are some reecords in the exception
table but the actual table is still in check pending state...what s
causeing this?? i was under impression that if i use for exception the
set integrity statemtn should never fail, since it inserts all vilating
rows into exception table....
any help appreicated

the set intergrity st used is...

SET INTEGRITY FOR schema.table IMMEDIATE CHECKED FOR EXCEPTION IN
schema.table USE schema.except_t able

Apr 19 '06 #1
3 3074
technocrat wrote:
I was runing load and then set integrity with for exception clause,
still the statement failed , there are some reecords in the exception
table but the actual table is still in check pending state...what s
causeing this?? i was under impression that if i use for exception the
set integrity statemtn should never fail, since it inserts all vilating
rows into exception table....
any help appreicated

the set intergrity st used is...

SET INTEGRITY FOR schema.table IMMEDIATE CHECKED FOR EXCEPTION IN
schema.table USE schema.except_t able


What's the error message that you got?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Apr 19 '06 #2
Unfortunately I did not print stack....but the following execute
statemtnts like loading the next table didnt work. ...the error while
loading the next table was...

COM.ibm.db2.jdb c.DB2Exception: [IBM][CLI Driver][DB2/6000] SQL20139N
SQL statem ents may not be issued in routine
"CONTROL.IN IT" (specific name "SQL06041313515 4
100") because of a previous statement failed or was interrupted.
SQLSTATE=51038
Also today morning I checked the state of the table which and for some
unknown weird reason the table was in normal state and accessible...

Any one has any idea whats going on?

Apr 19 '06 #3
I know now that the table was in normal state in the morning becuase i
had run set integrity command (while i got disc while executing and
assumed that ,that session would be disconnected)
But I have no idea till now why the set integrity failed the frst time.

Apr 19 '06 #4

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

Similar topics

0
380
by: Jay Allard | last post by:
Hello I posted this in the vb.net group on the 2/25/2004, but didn't get any response. Here's attempt 2. Does anyone know of a more appropriate place to post this? One new piece of information: It fails on any method that it happens to hit first. I juggled the methods a bit, and it just doesn't matter. As soon as the XslTransform hits an extension function, it fails with an invalid argument exception.
0
1895
by: Sharon Cowling | last post by:
Hi, my problem is this: I have a table called faps_key the unique identifier being key_code: taupo=# \d faps_key Table "faps_key" Column | Type | Modifiers -----------------+-----------------------+----------- key_code | character varying(6) | not null date_key_issued | date |
4
15843
by: maricel | last post by:
I have the following base table structure - DDL: CREATE TABLE "ADMINISTRATOR"."T1" ( "C1" INTEGER NOT NULL ) IN "TEST_TS" ; ALTER TABLE "ADMINISTRATOR"."T1" ADD PRIMARY KEY
5
4189
by: Jean-Marc Blaise | last post by:
Dear all, I have a table that contains a DATE in char(10) format. This table is LOADed. I put a check constraint on the column, some kind of CHECK (DATE(F) <= DATE('9999-12-31')) and I would like to move badly formatted field to the exception table. The problem is I will always get SQL0180N and the record is not moved into
12
1733
by: Steve Jorgensen | last post by:
Hi all, I've migrated an Access database schema to PostgreSQL, and I'm trying to get everything working again. I'm having the following problem... Within an Access transaction, I insert a row into one table, then I insert a row into a table with a foreign key relationship to the first record. The second insert fails with a referential integrity violation referring to the same relationhip I mentioned. This worked fine with a JET...
8
2268
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see following 2 examples): ---- EXAMPLE 1 -------- OK --> Dim p As New ProfileCommon OK --> p = Profile.GetProfile(Me.ddlRacer.SelectedItem.Text) FAILS --> Me.lblDebug.Text = p.FirstName.ToString
12
2398
by: technocrat | last post by:
I am trying to laod 2 tables and set integrtiy on them, but the second tables fails ( both are related and SET INTEGRITY ion first table succeeds) saying constraint violation....is there a way to find out which records are violating....?? may be through try catch a SQLException...??? but how?? any suggestions are welcome!
5
7579
by: mahhsuri | last post by:
I have 120 tables which mostly dependent to each other. Just did a db2move for all data. Now causing SQL0668 error when accessing tables with dependencies. Now I am running SET INTEGRITY command for each tables one-by-one. :( Is there a way to run SET INTEGRITY the parent table and cascade the state to child table? If yes, what's the syntax?
1
3790
by: Brian Tkatch | last post by:
A few questions about SET INTEGRITY. 1) Docs: The SET INTEGRITY statement is under transaction control. Using two sessions (different user, even) i tried the following. Session 1: UPDATE COMMAND OPTIONS USING C OFF Session 1: LOAD a TABLE Session 2: SysCat.Tables.Status = 'C' Session 1: SET INTEGRITY FOR table IMMEDIATE CHECKED
0
9716
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
10354
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...
1
10359
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10101
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
6870
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
5536
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
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
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
3
3005
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.