Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

perl dbi built on DB2 8.2 does not run on 9.1

Question posted by: dcruncher4@aim.com (Guest) on July 25th, 2008 02:55 PM
Our perl DBI is built on DB2 8.2. It runs fine on 8.2

However it does not run on 9.1. After the connect to the database, at the first
SQL it gives this error

"sql0818n A timestamp conflict occurred sqlstate 51003"

Are we suppose to rebuild perl DBI for db2 in ver 9.1

Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
J. Gleixner's Avatar
J. Gleixner
Guest
n/a Posts
July 25th, 2008
03:45 PM
#2

Re: perl dbi built on DB2 8.2 does not run on 9.1
Join Bytes! wrote:
Quote:
Originally Posted by
Our perl DBI is built on DB2 8.2. It runs fine on 8.2
>
However it does not run on 9.1. After the connect to the database, at the first
SQL it gives this error
>
"sql0818n A timestamp conflict occurred sqlstate 51003"
>
Are we suppose to rebuild perl DBI for db2 in ver 9.1
>


I don't use DB2, however spending a couple of minutes searching
the Internet for that error seems to point to a db2stats.bnd
problem.


Cause
The db2stats.bnd package is not bound after fix pack installations.

And may sites list how to update it.



It probably wouldn't hurt to rebuild DBD with the new 9.1 libraries.

bwmiller16@gmail.com's Avatar
bwmiller16@gmail.com
Guest
n/a Posts
July 25th, 2008
07:25 PM
#3

Re: perl dbi built on DB2 8.2 does not run on 9.1
On Jul 25, 10:47*am, dcrunch...@aim.com wrote:
Quote:
Originally Posted by
Our perl DBI is built on DB2 8.2. It runs fine on 8.2
>
However it does not run on 9.1. After the connect to the database, at thefirst
SQL it gives this error
>
"sql0818n A timestamp conflict occurred sqlstate 51003"
>
Are we suppose to rebuild perl DBI for db2 in ver 9.1


This should be fixed after you bind these:

db2 CONNECT TO MYDB
db2 BIND $HOME/sqllib/bnd/@db2ubind.lst BLOCKING ALL GRANT PUBLIC
db2 BIND $HOME/sqllib/bnd/@db2cli.lst BLOCKING ALL GRANT PUBLIC
db2 BIND $HOME/sqllib/bnd/db2schema.bnd BLOCKING ALL GRANT PUBLIC
db2rbind MYDB all /l $HOME/MYDB.log

 
Not the answer you were looking for? Post your question . . .
183,821 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors