473,394 Members | 2,048 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,394 software developers and data experts.

no SQL return code / resource name

We're getting the following SQL return code:

DB2CLI GetError
E: Database error (1): '57011' native code: -904 msg-len: 170
msg: '[IBM][CLI Driver][DB2] SQL0904N Unsuccessful execution caused by
an unavailable resource. Reason code: "",
type of resource: "", and resource name: "". SQLSTATE=57011

Environment: SuSE Linux SLES 8 for S/390
connected to z/OS 390 with DB2 7.2

As you see there's neither a reason code nor a resource name.

Any ideas why the error occured?
And why there's no reason code/resource name?

We have no clue where to poke around.
Nov 12 '05 #1
2 8472
sqllib/db2dump/db2diag.log would be a good place to start...

mgrd wrote:
We're getting the following SQL return code:

DB2CLI GetError
E: Database error (1): '57011' native code: -904 msg-len: 170
msg: '[IBM][CLI Driver][DB2] SQL0904N Unsuccessful execution caused by
an unavailable resource. Reason code: "",
type of resource: "", and resource name: "". SQLSTATE=57011

Environment: SuSE Linux SLES 8 for S/390
connected to z/OS 390 with DB2 7.2

As you see there's neither a reason code nor a resource name.

Any ideas why the error occured?
And why there's no reason code/resource name?

We have no clue where to poke around.

Nov 12 '05 #2
Hello,

DB2 z/OS reason codes can be very particular to that platform and older DB2
Connect versions may not always handle them in a correct manner. The -904
SQLCODE can arise for various reasons, from a special type of lockout or an
utility in progress up to a missing database file. Usually, DB2 for z/OS
records more useful information regarding the error to it's console log
(aka "Joblog" or "JES-output" to your z/OS-guys), which can help to narrow
down the problem.

Cheers - Walter.
"mgrd" <mg**@gmx.net> schrieb im Newsbeitrag
news:32*************@individual.net...
We're getting the following SQL return code:

DB2CLI GetError
E: Database error (1): '57011' native code: -904 msg-len: 170
msg: '[IBM][CLI Driver][DB2] SQL0904N Unsuccessful execution caused by
an unavailable resource. Reason code: "",
type of resource: "", and resource name: "". SQLSTATE=57011

Environment: SuSE Linux SLES 8 for S/390
connected to z/OS 390 with DB2 7.2

As you see there's neither a reason code nor a resource name.

Any ideas why the error occured?
And why there's no reason code/resource name?

We have no clue where to poke around.

Nov 12 '05 #3

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

Similar topics

2
by: Michael Klatt | last post by:
I have a resource handle class (call it ResourceHandle) that works like std::auto_ptr to automatically manage resource pointers from a C API (call them T*): class ResourceHandle { public :...
5
by: Drew | last post by:
Assembly asm = Assembly.GetExecutingAssembly(); me = new Bitmap(asm.GetManifestResourceStream("me.gif")); I have used this before without any problem, but now I get: An unhandled exception...
1
by: Namratha Shah \(Nasha\) | last post by:
Hi All, This is a resource file generation tool which converts an xml based resource formats to .net resource file i.e. (.resources) and vice-versa. Today we will see how we will generate ...
2
by: Joe Thompson | last post by:
Hi, I am trying to use PlaySound in a VC++.net Windows app (VS 2003). I can use it to play a file but now I want to play it from a resource. I have two questions: How do I add a wav file to...
0
by: Johann Blake | last post by:
I'm having trouble grasping how ASP.NET correctly locates resources. There is plenty of documentation on this subject but some things are not clear at all. In my ASP.NET application, I have...
2
by: JollyK | last post by:
Hello friends, In a large asp.net project, I don't think it is a good idea for having one common resource file containing all localized strings for the whole application. I think a better...
1
by: urban.john | last post by:
Here are my steps: create resource files from resx files: <echo message="CREATING RESOURCE FILES FROM RESGEN EN" /> <resgen todir="product\resources_en" verbose="true"> <resources> <include...
34
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about...
2
by: Daniel | last post by:
I am just investigating on .resx and .resource files using asp.net. I am attempting to develop a webpage in Dreamweaver on an asp.net webserver. As i read around the net, using a .resource file...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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...

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.