473,410 Members | 1,904 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,410 software developers and data experts.

getting sql0818n on db2advis

i am trying to run advise using the following parameter and i get this
error against one of the database :
db2advis -d db1 -i test.sql

Using user id as default schema name. Use -n option to specify schema

SQL0818N A timestamp conflict occurred. SQLSTATE=51003

*************************************
* CONTENTS OF SQLCA *
*************************************

SQLCABC = 136
SQLCODE = -818
SQLERRMC =
SQLERRP = SQLRALDP
sqlerrd[0] = 2148663405
sqlerrd[1] = 0
sqlerrd[2] = 0
sqlerrd[3] = 0
sqlerrd[4] = 0
sqlerrd[5] = 0
SQLWARN =
SQLSTATE = 51003
Critical SQLCODE. Exiting db2advis ...

0 solutions were evaluated by the advisor

exiting with error code [-818]

How can I fix it ?

TIA

Roger
Feb 13 '08 #1
2 4115
Roger wrote:
i am trying to run advise using the following parameter and i get this
error against one of the database :
db2advis -d db1 -i test.sql

Using user id as default schema name. Use -n option to specify schema

SQL0818N A timestamp conflict occurred. SQLSTATE=51003

*************************************
* CONTENTS OF SQLCA *
*************************************

SQLCABC = 136
SQLCODE = -818
SQLERRMC =
SQLERRP = SQLRALDP
sqlerrd[0] = 2148663405
sqlerrd[1] = 0
sqlerrd[2] = 0
sqlerrd[3] = 0
sqlerrd[4] = 0
sqlerrd[5] = 0
SQLWARN =
SQLSTATE = 51003
Critical SQLCODE. Exiting db2advis ...

0 solutions were evaluated by the advisor

exiting with error code [-818]

How can I fix it ?

TIA

Roger
You need to bind the packages used for the adviser. The messages says that
the bound package does not match that required by the application. (See
information center SQL messages) Look in the information center / release
notes etc. to see what you have to bind.
Colin
Feb 14 '08 #2
Hi colin,
I looked at those, it doesn't say what all packages I have to bind. I
bound all the db2ad*.bnd files from the sqllib/bnd directory and
still has no success.

Thanks
Feb 14 '08 #3

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

Similar topics

1
by: KVM Swamy | last post by:
Our application uses Global Temp Tables in DB2 and dynamic queries. During certain updates/inserts, at random we get an error SQL0818N "Timestamp conflict occurred". The documentation on this error...
1
by: norab | last post by:
Hi, In the help here (http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/admin/t0011424.htm?resultof=%22%77%6f%72%6b%6c%6f%61%64%22%20) is described that you can run the...
5
by: dotyet | last post by:
I have been given the daunting task of sql query tuning. I am looking for ways to get started with that. I am on DB2 UDB 8.2 (8.1 with Fixpak 8) on Windows. One point which I could think about...
1
by: Anurag | last post by:
Hi All, Server = DB2 ESE 8.2 on Linux, Client = DB2 Admin Client 8.2 on Windows Question = Can I execute "db2advis" from this Windows Client? Kindly see the error I receive and the setup below....
7
by: Michel Esber | last post by:
Hello, Linux DB2 V7 FP13 kernel 2.4. Parts of our application login run on C++ procedures that are working fine. I have taken an offline backup and restored it to a Linux V8 kernel 2.6 FP 14...
1
by: mandible | last post by:
Hello I was wondering if I"m doing something wrong with using db2advis I have 2 stored procedures are are massive, I created an input file to call both of these stored procedures and I dont' seem...
5
by: lennart | last post by:
Here's the scenario. Take backup on production machine Restore backup on development machine OS and fixpak identical, but - and I suspect this has something to do with it - the dbadm user...
0
by: sancho | last post by:
Hi folks: My environment: db2level: "DB2 v8.1.0.48", "s040212", "MI00069", FixPak "5". db2licm -l: DB2 Enterprise Server Edition uname -a: Linux 2.6.17-1.2187_FC5smp My question:
3
by: sandeep.iitk | last post by:
I am using a query into db2advis for index recommendation. this query is having a CTE (with clause). when I run db2advis it returned some error like Database is reporting the following error:...
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...
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
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...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.