473,657 Members | 2,456 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Update more then 600 records - db2 7.2 on Win 2000, programing MS VB6.0

I have db2 7.2 on Win 2000, programing MS VB6.0

I update 1 field on 600 records - successfully, but if i update more then
600 records then i have err. mesage
[S1008] [IBM][CLI Driver][DB2/NT] SQL0952N Processing was cancelled due to
an interrupt. SQLSTATE=57014

T his is my query:

Update KC113DELO.DNEVN IK Set TTEMA='109 Po¾igi' Where IDDNEVNIKA>1000

Vlado
e-mail: vl**********@in telcom.si


Nov 12 '05 #1
2 3698
May be your log files aren't big enough?
To make sure try to issue the same command from the db2 command line
processor.
If log files are the problem then increase the size or the number of
primary and or scondary logfiles.

Vlado wrote:
I have db2 7.2 on Win 2000, programing MS VB6.0

I update 1 field on 600 records - successfully, but if i update more then
600 records then i have err. mesage
[S1008] [IBM][CLI Driver][DB2/NT] SQL0952N Processing was cancelled due to
an interrupt. SQLSTATE=57014

T his is my query:

Update KC113DELO.DNEVN IK Set TTEMA='109 Po¾igi' Where IDDNEVNIKA>1000

Vlado
e-mail: vl**********@in telcom.si



--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands
Nov 12 '05 #2
Vlado,

We run into this in our shop a lot. It's effectively a time-out error.
The time out interval on your VB object is expiring and effectively
cancelling the transaction, even though DB2 is still working on it.
Our solution was to associate the SQL statement with a command object,
and set the timeout interval on the command object to a longer period.
Hope that helps.

Sean

Anton Versteeg <an************ @nnll.iibbmm.co m> wrote in message news:<40******* *******@nnll.ii bbmm.com>...
May be your log files aren't big enough?
To make sure try to issue the same command from the db2 command line
processor.
If log files are the problem then increase the size or the number of
primary and or scondary logfiles.

Vlado wrote:
I have db2 7.2 on Win 2000, programing MS VB6.0

I update 1 field on 600 records - successfully, but if i update more then
600 records then i have err. mesage
[S1008] [IBM][CLI Driver][DB2/NT] SQL0952N Processing was cancelled due to
an interrupt. SQLSTATE=57014

T his is my query:

Update KC113DELO.DNEVN IK Set TTEMA='109 Po¾igi' Where IDDNEVNIKA>1000

Vlado
e-mail: vl**********@in telcom.si


Nov 12 '05 #3

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

Similar topics

4
5304
by: Rustam Bogubaev | last post by:
Hi, I have a table with the following columns: ID INTEGEDR, Name VARCHAR(32), Surname VARCHAR(32), GroupID INTEGER, SubGroupOneID INTEGER, SubGroupTwoID INTEGER
1
3676
by: Google Mike | last post by:
I have one table of new records (tableA) that may already exist in tableB. I want to insert these records into tableB with insert if they don't already exist, or update any existing ones with new data if they do already exist. A column (Action) in tableA already tells me whether this is an INSERT, UPDATE, or DELETE. I'm able to derive that I can do an insert with select * into tableB from tableA where Action = 'INSERT' ....and I think...
3
10075
by: Dan Berlin | last post by:
I have two tables: T1 : Key as bigint, Data as char(20) - size: 61M records T2 : Key as bigint, Data as char(20) - size: 5M records T2 is the smaller, with 5 million records. They both have clustered indexes on Key. I want to do:
7
1636
by: aaj | last post by:
Hi all We had a small problem when an ASP web page had a missing 'where' statement and updated all the records in the table. Luckily we could retrieve all the data from the backups. How do you guys prevent this from happening in your large systems. Is there some teqnique for controlling this, I would imagine if you had thousands of records in a table and some one made a programming error, then the consequences would be disastrous.
0
1628
by: htmlgeek | last post by:
I've beaten my head againts this for two weeks and would appreciate any help. Am running Dreamweaver 2004 MX asp pages with MS Access 2000 and then 2003 and received same problems! I've rebuilt pages etc. etc. Insert and update work, but updating of records with data in the memo field seem to crash/corrupt Access--but only on those records. The problem seems to narrow down to updating a record's memo field. It
0
5809
by: M. David Johnson | last post by:
I cannot get my OleDbDataAdapter to update my database table from my local dataset table. The Knowledge Base doesn't seem to help - see item 10 below. I have a Microsoft Access 2000 database which indexes computer magazine articles for personal reference. I am developing a Visual Basic.NET program whose sole purpose is to enter new records into the database. No updates to existing entries, no deletions, and no display
9
2874
by: DraguVaso | last post by:
Hi, I'm writing a VB.NET application who has to insert/update and delete a whole bunch of records from a File into a Sql Server Database. But I want to be able to knwo the 'result' of my ctions. for exemple: - after an INSERT: knowing if this happened well or not - after an UPDATE: knowing wich number of records were updated (or if there were records udpated or not)
3
2174
by: rdraider | last post by:
Hi all, Any thoughts on the best way to run an update query to update a specific list of records where all records get updated to same thing. I would think a temp table to hold the list would be best but am also looking at the easiest for an end user to run. The list of items is over 7000 Example: update imitmidx_sql set activity_cd = 'O', activity_dt = '20060601', prod_cat = 'OBS' where item_no = '001-LBK' update imitmidx_sql set...
9
2481
by: dotnetfellow | last post by:
The system has worked for two years. SQL Server 2000 runs on Windows 2000 Server "A". Another instance of SQL Server 2000 was moved from Windows 2000 Server "B" old to Windows 2003 Server "B" new, by restoring a backed up copy from old to new. The system has cross server updates, where Server "A" is updating records in very large tables on Server "B".
0
8392
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
8305
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,...
1
8503
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
8603
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
5632
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
4151
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
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
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.