473,503 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error In SQL Statement

My Visual Studio 2005 Query Window reports the following error when
this query runs. Any idea what might be causing it? Thanks for any
help. I have tried subsitituing for the parameter a fixed number and
same error. I also have established it does connect and close properly
with my connection string.

[DB2/LINUX] SQL0952N Processing was cancelled due to an interrupt.
SQLSTATE=57014
SELECT F4211.SDITWT as grs_wgt, F5549110.BLDOCO as order_no,
F5549110.BLSRTX as prod_code,
F5549110.BLLOT1 as run_num, F5549110.BLLOTN as skid_num,
F5549110.BLZ55BSWT as bs_wgt,
F564108.IOZ55USR08 as id_barcode, F564108.IOZ55USR01 as width,
F564108.IOZ55USR03 as length,
F564108.IOZ55USR09 as desc1, F4211.SDVR01, F4211.SDVR02,
F5549110.BLSQOR, F5549110.BLITM, F5549110.BLUOM
FROM (PRODDTA.F5549110 F5549110
LEFT OUTER JOIN PRODDTA.F4211 F4211
ON (F5549110.BLDOCO=F4211.SDDOCO)
AND (F5549110.BLLNID=F4211.SDLNID))
LEFT OUTER JOIN PRODDTA.F564108 F564108
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM))
AND (F5549110.BLLOTN=F564108.IOLOTN)
WHERE F5549110.BLDOCO=?

Mar 5 '07 #1
4 11168
On 5 Mar 2007 08:45:44 -0800, "scorpion53061"
<ke***********@gmail.comwrote:
>My Visual Studio 2005 Query Window reports the following error when
this query runs. Any idea what might be causing it? Thanks for any
help. I have tried subsitituing for the parameter a fixed number and
same error. I also have established it does connect and close properly
with my connection string.

[DB2/LINUX] SQL0952N Processing was cancelled due to an interrupt.
SQLSTATE=57014
SELECT F4211.SDITWT as grs_wgt, F5549110.BLDOCO as order_no,
F5549110.BLSRTX as prod_code,
F5549110.BLLOT1 as run_num, F5549110.BLLOTN as skid_num,
F5549110.BLZ55BSWT as bs_wgt,
F564108.IOZ55USR08 as id_barcode, F564108.IOZ55USR01 as width,
F564108.IOZ55USR03 as length,
F564108.IOZ55USR09 as desc1, F4211.SDVR01, F4211.SDVR02,
F5549110.BLSQOR, F5549110.BLITM, F5549110.BLUOM
FROM (PRODDTA.F5549110 F5549110
LEFT OUTER JOIN PRODDTA.F4211 F4211
ON (F5549110.BLDOCO=F4211.SDDOCO)
AND (F5549110.BLLNID=F4211.SDLNID))
LEFT OUTER JOIN PRODDTA.F564108 F564108
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM))
AND (F5549110.BLLOTN=F564108.IOLOTN)
WHERE F5549110.BLDOCO=?

================================================== ====
db2 =? sql952
SQL0952N Processing was cancelled due to an interrupt.

Explanation:

The user may have pressed the interrupt key sequence.

The statement processing is terminated. Some changes may have
been applied to the database, but not committed, before
termination occurred.

Federated system users: this situation can also be detected by
the data source.

User Response:

Continue the application.

If installing the sample database, drop it and install the
sample database again.

sqlcode : -952

sqlstate : 57014
================================================== ====

I'd guess a timeout. An outer join on an outer join may take a few
minutes. If you can, run the query in the CLP first to verify it is
running. If it takes a while, you may need to adjust the timeout value
of you DB connection object.

B.
Mar 5 '07 #2
On Mar 5, 11:00 am, Brian Tkatch <N/Awrote:
On 5 Mar 2007 08:45:44 -0800, "scorpion53061"

<kellyjmart...@gmail.comwrote:
My Visual Studio 2005 Query Window reports the following error when
this query runs. Any idea what might be causing it? Thanks for any
help. I have tried subsitituing for the parameter a fixed number and
same error. I also have established it does connect and close properly
with my connection string.
[DB2/LINUX] SQL0952N Processing was cancelled due to an interrupt.
SQLSTATE=57014
SELECT F4211.SDITWT as grs_wgt, F5549110.BLDOCO as order_no,
F5549110.BLSRTX as prod_code,
F5549110.BLLOT1 as run_num, F5549110.BLLOTN as skid_num,
F5549110.BLZ55BSWT as bs_wgt,
F564108.IOZ55USR08 as id_barcode, F564108.IOZ55USR01 as width,
F564108.IOZ55USR03 as length,
F564108.IOZ55USR09 as desc1, F4211.SDVR01, F4211.SDVR02,
F5549110.BLSQOR, F5549110.BLITM, F5549110.BLUOM
FROM (PRODDTA.F5549110 F5549110
LEFT OUTER JOIN PRODDTA.F4211 F4211
ON (F5549110.BLDOCO=F4211.SDDOCO)
AND (F5549110.BLLNID=F4211.SDLNID))
LEFT OUTER JOIN PRODDTA.F564108 F564108
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM))
AND (F5549110.BLLOTN=F564108.IOLOTN)
WHERE F5549110.BLDOCO=?

================================================== ====
db2 =? sql952

SQL0952N Processing was cancelled due to an interrupt.

Explanation:

The user may have pressed the interrupt key sequence.

The statement processing is terminated. Some changes may have
been applied to the database, but not committed, before
termination occurred.

Federated system users: this situation can also be detected by
the data source.

User Response:

Continue the application.

If installing the sample database, drop it and install the
sample database again.

sqlcode : -952

sqlstate : 57014
================================================== ====

I'd guess a timeout. An outer join on an outer join may take a few
minutes. If you can, run the query in the CLP first to verify it is
running. If it takes a while, you may need to adjust the timeout value
of you DB connection object.

B.- Hide quoted text -

- Show quoted text -
Thank you for yoru help. I ran it with ConnectionTimeout set to 0 in
connections string and same error returned.

Mar 5 '07 #3
Althou, this last part doesn't violate syntax.
.......
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM))
AND (F5549110.BLLOTN=F564108.IOLOTN)
WHERE F5549110.BLDOCO=?

It might be worth to try to rewrite as following.
.......
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM)
AND (F5549110.BLLOTN=F564108.IOLOTN))
WHERE F5549110.BLDOCO=?

Mar 6 '07 #4
On 5 Mar 2007 09:19:23 -0800, "scorpion53061"
<ke***********@gmail.comwrote:
>On Mar 5, 11:00 am, Brian Tkatch <N/Awrote:
>On 5 Mar 2007 08:45:44 -0800, "scorpion53061"

<kellyjmart...@gmail.comwrote:
>My Visual Studio 2005 Query Window reports the following error when
this query runs. Any idea what might be causing it? Thanks for any
help. I have tried subsitituing for the parameter a fixed number and
same error. I also have established it does connect and close properly
with my connection string.
>[DB2/LINUX] SQL0952N Processing was cancelled due to an interrupt.
SQLSTATE=57014
>SELECT F4211.SDITWT as grs_wgt, F5549110.BLDOCO as order_no,
F5549110.BLSRTX as prod_code,
F5549110.BLLOT1 as run_num, F5549110.BLLOTN as skid_num,
F5549110.BLZ55BSWT as bs_wgt,
F564108.IOZ55USR08 as id_barcode, F564108.IOZ55USR01 as width,
F564108.IOZ55USR03 as length,
F564108.IOZ55USR09 as desc1, F4211.SDVR01, F4211.SDVR02,
F5549110.BLSQOR, F5549110.BLITM, F5549110.BLUOM
FROM (PRODDTA.F5549110 F5549110
LEFT OUTER JOIN PRODDTA.F4211 F4211
ON (F5549110.BLDOCO=F4211.SDDOCO)
AND (F5549110.BLLNID=F4211.SDLNID))
LEFT OUTER JOIN PRODDTA.F564108 F564108
ON ((F5549110.BLMCU=F564108.IOMCU)
AND (F5549110.BLITM=F564108.IOITM))
AND (F5549110.BLLOTN=F564108.IOLOTN)
WHERE F5549110.BLDOCO=?

================================================= =====
db2 =? sql952

SQL0952N Processing was cancelled due to an interrupt.

Explanation:

The user may have pressed the interrupt key sequence.

The statement processing is terminated. Some changes may have
been applied to the database, but not committed, before
termination occurred.

Federated system users: this situation can also be detected by
the data source.

User Response:

Continue the application.

If installing the sample database, drop it and install the
sample database again.

sqlcode : -952

sqlstate : 57014
================================================= =====

I'd guess a timeout. An outer join on an outer join may take a few
minutes. If you can, run the query in the CLP first to verify it is
running. If it takes a while, you may need to adjust the timeout value
of you DB connection object.

B.- Hide quoted text -

- Show quoted text -

Thank you for yoru help. I ran it with ConnectionTimeout set to 0 in
connections string and same error returned.
Is it returned at a specific time?

Visual Studio has its own timeout value. It is a property of the
database object. Specifically, set that one.

B.
Mar 6 '07 #5

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

Similar topics

0
2615
by: Dirk Försterling | last post by:
Hi all, a few days ago, I upgraded from PostgreSQL 7.2.1 to 7.4, following the instructions in the INSTALL file, including dump and restore. All this worked fine without any error (message). ...
0
4255
by: Rhino | last post by:
I've written several Java stored procedures now (DB2 V7.2) and I'd like to write down a few "best practices" for reference so that I will have them handy for future development. Would the...
2
14753
by: Karl | last post by:
Exception EDBEngineError in module Cserv.exe at 0013E2C8. General SQL error. SQL0727N An error occurred during implicit system action type "1". Information returned for the error includes SQLCODE...
6
4712
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
6
8437
by: Squirrel | last post by:
I have a command button on a subform to delete a record. The only statement in the subroutine is: DoCmd.RunCommand acCmdDeleteRecord The subform's recordsource is "select * from tblVisit order...
1
3077
by: amitbadgi | last post by:
HI i am getting the foll error while conv an asp application to asp.net Exception Details: System.Runtime.InteropServices.COMException: Syntax error in UPDATE statement. Source Error: Line...
2
9415
by: Charles Wilt | last post by:
I have a IBM iSeries (aka AS-400) running v5r3 of OS/400 that I access via a linked server from SQL Server 2000. The following select works fine: select * from...
0
4716
by: mchuc7719 | last post by:
Hello, I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only get errors. Before I to run the command line, I open in notepad the .vbproj and I was add the next line: ...
6
2341
by: redashley40 | last post by:
This is my first attempt in SQL and PreparedStatement I have add the PreparedStatement and I'm not to sure if I'm doing it correctly. When I do a test run on Choose 1 ,or 2 I get this error. Error...
19
6559
by: kimiraikkonen | last post by:
Hi, I want to find out if there's difference between "On Error Resume Next" error handler and leaving "catch" block empty in a try-catch-end try block to ignore exceptions which i don't approve of...
0
7199
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,...
0
7274
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,...
0
7323
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...
1
6984
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...
0
5576
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4670
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...
0
3162
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...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1507
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 ...

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.