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

db2exfmt and missing function EXPLAIN_FORMAT_STATS

Hi!

when I run db2exfmt on DB2 9.1 I get this output:
DB2 Universal Database Version 9.5, 5622-044 (c) Copyright IBM Corp.
1991, 2007
Licensed Material - Program Property of IBM
IBM DATABASE 2 Explain Table Format Tool

Connecting to the Database as user EMGSYS.
Connect to Database Successful.
Binding package - Error during Bind, near line 1484.

Error Message =
SQL0001N Binding or precompilation did not complete successfully.
SQLCA
Size = 136
SQLCODE = -1
Tokens = /home/gregor/sqllib/bnd/db2exfmt.bnd
Function= sqlajbnd
RC = 0x0000 = 0
Reason = 0x0000 = 0
Reason2 = 0x0000 = 0
Warning flags =

Error during bind.
Bind messages can be found in db2exfmt.msg
and db2exfmt.msg says:
LINE MESSAGES FOR db2exfmt.bnd
------ --------------------------------------------------------------------
SQL0061W The binder is in progress.
9076 SQL0440N No authorized routine named "EXPLAIN_FORMAT_STATS"
of type "FUNCTION" having compatible arguments was found.
SQLSTATE=42884
SQL0082C An error has occurred which has terminated
processing.
SQL0092N No package was created because of previous errors.
SQL0091N Binding was ended with "3" errors and "0" warnings.

How to solve this?

Best regards,
Kovi

--
____________________________
|http://kovica.blogspot.com|
-----------------------------~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Jul 11 '08 #1
3 4553
Hi, I would simply try running db2 -tvf ~/sqllib/misc/EXPLAIN.DDL
again. I'm assuming you originally created the explain tables on an
earlier version, it could be that some new explain related functions
were added to the script in Version 9.

Hope this helps,
Miro
Jul 11 '08 #2
Hi!

Yes, I tried that and the script complained that there is no
SYSPROC.EXPLAIN_GET_MSG2 function, which led me to conclusion that
Databse Instance was not migrated, but running db2imirgr sayed that it
cannot migrate the instance since it already is migrated. Go figure.
Now I'm wandering in the dark.

Best regards,
Kovi

mirof007 pravi:
Hi, I would simply try running db2 -tvf ~/sqllib/misc/EXPLAIN.DDL
again. I'm assuming you originally created the explain tables on an
earlier version, it could be that some new explain related functions
were added to the script in Version 9.

Hope this helps,
Miro
--
____________________________
|http://kovica.blogspot.com|
-----------------------------~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Jul 11 '08 #3
Gregor Kovac wrote:
Hi!

Yes, I tried that and the script complained that there is no
SYSPROC.EXPLAIN_GET_MSG2 function, which led me to conclusion that
Databse Instance was not migrated, but running db2imirgr sayed that it
cannot migrate the instance since it already is migrated. Go figure.
Now I'm wandering in the dark.
It seems like you are using a db2exfmt of DB2 9.5 against DB2 9.1.
Are you running this from a Db2 9.5 client perhaps?

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Jul 11 '08 #4

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

Similar topics

3
by: muser | last post by:
The following error appears for the code I'm writing: error C2062: type 'int' unexpected C:\Program Files\Microsoft Visual Studio\MyProjects\Valid\Zenith124\Zenith.cpp(427) : error C2143:...
18
by: marcokrechting | last post by:
Hi All, I have a rather complicated problem. I use following function to display a hyperlink: a="<"+"a href='"; b3="<"+"a href='http://nww."; L="</"+'a><br>'; function...
1
by: BN | last post by:
I got this error: Call to undefined function imagecreatetruecolor() ... Did I not enable something in the configure script? How do I enable this function? Thanks
2
by: noleander | last post by:
I'm trying to call the Microsoft image-processing function AlphaBlend() in my Visual C++ application. My software compiles okay, but gets a link error (details below) that says it cannot find the...
1
by: KAH | last post by:
//---------------------------------------------------------------- //This program will find the length of a line on a plane. With the //one end at the origin and the other end selected by the user...
3
by: Moses | last post by:
Hi All, I have the following button in my page <input type="button" value="Submit" onClick="ajaxCall( { url:'test.php', method:'POST', type:'HTML', placeholder:'placeholder',
11
by: Old Wolf | last post by:
Does the following program require a diagnostic? Which section of the Standard deals with this? (I read the section on function calls and didn't see anything). void f(void); int main(void) {...
2
by: singhs21 | last post by:
hello can anyone help me im making a project ive been for hours on sites looking for help: basically, im making site which reads a password, allows access if it is correct: it will also after 3...
3
by: cardoow | last post by:
Hi this is my code : HRESULT APIENTRY hkIDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount) { ...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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,...

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.