473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Question on Error Return Code SQL0902 Reson Code 18

Hi,

can anybody tell me what the reason code 18 means in combination with
a SQL0902 error?
It would be helpful to know details about the reason code but I could
not find any details about that code.

Here is the full error message (out of a DataStage job)

E_STG_CRM_PROFILE..xfm3: [IBM][CLI Driver] SQL0902C A system error
(reason code = "18") occurred. Subsequent SQL statements cannot be
processed. SQLSTATE=58005

[IBM][CLI Driver] SQL30081N A communication error has been detected.
Communication protocol being used: "TCP/IP". Communication API being
used: "SOCKETS". Location where the error was detected:
"10.21.16.58". Communication function detecting the error: "recv".
Protocol specific error code(s): "10055", "*", "*". SQLSTATE=08001

SQLFetch: Error retrieving results from server.
Thanks in advance
Michael

Nov 5 '07 #1
2 10389
On Nov 5, 8:31 pm, globomike <M_Tiefenbac...@gmx.dewrote:
Hi,

can anybody tell me what the reason code 18 means in combination with
a SQL0902 error?
It would be helpful to know details about the reason code but I could
not find any details about that code.

Here is the full error message (out of a DataStage job)

E_STG_CRM_PROFILE..xfm3: [IBM][CLI Driver] SQL0902C A system error
(reason code = "18") occurred. Subsequent SQL statements cannot be
processed. SQLSTATE=58005

[IBM][CLI Driver] SQL30081N A communication error has been detected.
Communication protocol being used: "TCP/IP". Communication API being
used: "SOCKETS". Location where the error was detected:
"10.21.16.58". Communication function detecting the error: "recv".
Protocol specific error code(s): "10055", "*", "*". SQLSTATE=08001

SQLFetch: Error retrieving results from server.

Thanks in advance
Michael
Hi,

check the service configured with SVCE_NAME in dbm cfg. Seems that
client couldn't connect to the specified port

Nov 9 '07 #2
globomike wrote:
Hi,

can anybody tell me what the reason code 18 means in combination with
a SQL0902 error?
It would be helpful to know details about the reason code but I could
not find any details about that code.
The SQL0902C message usually implies bad things have happened in the DB.
For the system error specifics (rc=18), you have to check your platform.
(Windows, AIX, Solaris, etc.) Most POSIX compliant platforms ie. AIX
(/usr/include/sys/errno.h) show 18 mapped to EXDEV.
>
[IBM][CLI Driver] SQL30081N A communication error has been detected.
Communication protocol being used: "TCP/IP". Communication API being
used: "SOCKETS". Location where the error was detected:
"10.21.16.58". Communication function detecting the error: "recv".
In many cases the -902 will result in DB2 marking the DB as "Bad".
All further (re)connections to the DB will be refused, as a precaution
to avoid propagating possibly corrupt data. So the SQL30081N sometimes
can cause confusion about what's really wrong.

Best to check in the DB2 notification log for database marked bad msgs.
Also examine the db2diag.log file for more detailed info around the time
when the SQL0902 error first occurred. You may be able to narrow the
scope by which function was executing when the error happened.
Eric
Nov 10 '07 #3

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

Similar topics

7
by: Cem Louis | last post by:
Hi, I want to get each line of e-mail accounts from my txt file and put them in an array after checking the syntax. I made a few tries but can't accomplish on that here is my text file look...
1
by: Nitin | last post by:
i dont know , what's the reson of this, but if i complile my solution in release mode , it works , but give buid error in Debug mode -- "Unexpected error creating debug information file .pdb"....
9
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but...
3
by: Brian Farnhill (MCP VB.NET) | last post by:
Hi, I am having some trouble using the MailMessage object to send an email with more than one attachment. I am working on a web based application where a user can submit information, along...
13
by: Woody Splawn | last post by:
I have a try catch statement in a fucntion that is supposed to return a true or a false My code looks like this: Try mySqlConnection.Open() Dim Da1 As New SqlDataAdapter("Select JnlType,...
14
by: Mr Newbie | last post by:
I am often in the situation where I want to act on the result of a function, but a simple boolean is not enough. For example, I may have a function called isAuthorised ( User, Action ) as ?????...
7
by: Tony Johansson | last post by:
Hello! Why does not this cause a compile error because a ulong has never been implicitly convertible to byte? ulong vektor = {100000,200000,300000}; foreach(byte b in vektor) {...
6
by: Amzul | last post by:
hello all agian, i feel like i am asking to many qustion. :\ i have a problam and i cant think of any sulotion for it. in my script i declare few GLOBAL VARIBLAS but the function dont know...
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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
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...

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.