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

Home Posts Topics Members FAQ

set integrity after load

Hello,

I have loaded a lot of tables into my database - some tables with
foreign keys, so that when I want to access the tables after the load I
get the error message that accessing the table is not possible at the
moment - i have the set the integrity of the table first... I am now
looking for a way to set the integrity for all tables at once after the
loading of many tables. Is there a way to get this done?

another question came just to my mind: is the a way of making the db2
CLP a little more comfortable. A command history would be graet for
starters...

Thanks for any help...

Greetings, Jan
Nov 12 '05 #1
4 4204

"Jan Suchanek" <ja**********@g mx.de> wrote in message
news:41******** @news.uni-ulm.de...

another question came just to my mind: is the a way of making the db2
CLP a little more comfortable. A command history would be graet for
starters...

What version of DB2 are you using and what OS are you running? I'm running
DB2 V7.2 on Windows XP and my DB2 CLP has a command history; just use
up-arrow and down-arrow to cycle through them. I thought all recent versions
of DB2 had that feature. (I know Version 2 did not have command history but
I don't think many people are still running Version 2.)

Rhino

Nov 12 '05 #2
hi,

Rhino wrote:
"Jan Suchanek" <ja**********@g mx.de> wrote in message
news:41******** @news.uni-ulm.de...
another question came just to my mind: is the a way of making the db2
CLP a little more comfortable. A command history would be graet for
starters...


What version of DB2 are you using and what OS are you running? I'm running
DB2 V7.2 on Windows XP and my DB2 CLP has a command history; just use
up-arrow and down-arrow to cycle through them. I thought all recent versions
of DB2 had that feature. (I know Version 2 did not have command history but
I don't think many people are still running Version 2.)


We talking about a V8.1 - so it should work... But the up-arrow does not
work. Has this feature to be activated?

Greetings, Jan
Nov 12 '05 #3
Jan Suchanek wrote:
hi,

Rhino wrote:
"Jan Suchanek" <ja**********@g mx.de> wrote in message
news:41******** @news.uni-ulm.de...
another question came just to my mind: is the a way of making the db2
CLP a little more comfortable. A command history would be graet for
starters...


What version of DB2 are you using and what OS are you running? I'm
running
DB2 V7.2 on Windows XP and my DB2 CLP has a command history; just use
up-arrow and down-arrow to cycle through them. I thought all recent
versions
of DB2 had that feature. (I know Version 2 did not have command
history but
I don't think many people are still running Version 2.)

We talking about a V8.1 - so it should work... But the up-arrow does not
work. Has this feature to be activated?

Greetings, Jan


I have observed the same problem with V7.2 and V8.1, but only on Linux
and not on Win-NT/XP.

On our Linux server, this is what the up-arrow gives: (inside the DB2
CLP; the history feature works fine in sh or csh):

db2 => ^[[A

Is there a DB2 environmental variable to be set, similar to TERM in the
shell?

N. Shamsundar
University of Houston
Nov 12 '05 #4
> I have observed the same problem with V7.2 and V8.1, but only on Linux
and not on Win-NT/XP.

On our Linux server, this is what the up-arrow gives: (inside the DB2
CLP; the history feature works fine in sh or csh):

db2 => ^[[A

Is there a DB2 environmental variable to be set, similar to TERM in the
shell?

N. Shamsundar
University of Houston


The command history is function of windows (up or down arrow), not DB2. UNIX
shells have there own version of command history. Try alt-k on UNIX (that is
what I use on AIX).
Nov 12 '05 #5

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

Similar topics

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
1
3690
by: Grant McLean | last post by:
Hi First a simple question ... I have a table "access_log" that has foreign keys "app_id" and "app_user_id" that reference the "application_type" and "app_user" tables. When I insert into "access_log", the referential integrity triggers generate these queries: SELECT 1 FROM ONLY "public"."application_type" x
1
1958
by: HGT | last post by:
Hello all, I am currently on a project which the source data come into the databases is always dirty (not surprisingly); however, due to the design of the database, it is very difficult to impose referential integrity (esp. Foreign Keys) on these tables. Am I just not thinking straight? This solution is implemented on multi RDBMS. Example, we have 2 tables, one with a number of columns and a TIMEID column to specify the load date (in...
3
3074
by: technocrat | last post by:
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...
16
5674
by: Brian Tkatch | last post by:
Is there a way to check the order in which SET INTEGRITY needs to be applied? This would be for a script with a dynamic list of TABLEs. B.
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
1921
by: WTH | last post by:
I ask because I've got a windows service I've written that manages failover and replication for our products (or even 3rd party applications) and it worked great right until I tested it (for ease of testing purposes) with Internet Explorer (iexplore.exe) - I was testing handling argument list buffer overflows. What I found with iexplore.exe is that because my windows service is running with high privileges (due to running under the local...
2
1950
by: Doug | last post by:
Hi all, I have an issue with SET INTEGRITY after loading my table. Set integrity does not see integrity violations checking by trigger. My shell script does the following steps: - LOAD FROM ... REPLACE INTO my_table - SET INTEGRITY FOR my_table IMMEDIATE CHECKED We have just a trigger, verifying loaded data from my_table with an another table, nothing else. SET INTEGRITY does not detect my bad
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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...
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...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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?
2
3837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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.