Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / September 2006

Tip: Looking for answers? Try searching our database.

FYI, DB2 FP13 (or should I say 11) instructions are incorrect

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yoyo - 26 Sep 2006 15:01 GMT
Just to help somebody else if they are looking, we wasted 2 hours last
night trying to figure out the problem. (With a manager over our shoulder)
We upgraded our 8.1 FP11 instance to FP13. Instructions first say that
there are no instruction changes from FP11 to FP13. Great, so we install
FP13, run all the binds on the server like it says, same ones we did
when we went to FP11, and we can command line connect, but our
applicatoin cannot connect. We thought we had an applicaiton problem, so
we spend time trying to figure out what, rebuild our connection modules,
express schema...few other things...no love...

We ended up having to run db2schema.bnd from a client (from one of each
OS type). Instructions specifcally say:

""""
Bind db2schema.bnd to existing databases

After installation on the server, an additional bind file needs to be
bound to existing databases. This requirement does not apply to clients.
""""
http://download.boulder.ibm.com/ibmdl/pub/ps/products/db2/fixes2/english-us/db2a
ix5v8/fixpak/FP13_U808888/FixPackReadme.html#wq45


I know, right above that it says you must bind utilities for run-time
clients, one for each os type. So it's a bit contradicting. But I looked
up my notes from when we went to FP11, and we did not run from any
clients. So to go to FP11, they are right. To FP13, not so clear.

Here is the error our application was spitting.

CATDbCursor Error : 38553-[IBM][CLI Driver][DB2/AIX64] SQL0443N  Routine
"SYSIBM.SQLCOLUMNS" (specific name "COLUMNS") has returned an error SQLS
        Error sdaiESYSERROR     : Underlying system error
        ( RdbMapping::RdbMapping  CATDbCursor Error in Select )

db2schema.bnd from clients, and magic, it all works again.

FP13 was fixing a few issues for us, already good reports of performance
improvments for certain operations! We admins rarly ever get positive
feedback, so something must be really be good.
Mark A - 26 Sep 2006 15:10 GMT
> Just to help somebody else if they are looking, we wasted 2 hours last
> night trying to figure out the problem. (With a manager over our shoulder)
[quoted text clipped - 34 lines]
> improvments for certain operations! We admins rarly ever get positive
> feedback, so something must be really be good.

There is always a potential need to rebind remote clients depending on which
fixpack level your clients are at. There is no way that a server fixpack
instructions could know which client release and fixpack you are running, so
there is no way they can say that no rebind is necessary.
yoyo - 26 Sep 2006 15:40 GMT
>>Just to help somebody else if they are looking, we wasted 2 hours last
>>night trying to figure out the problem. (With a manager over our shoulder)
[quoted text clipped - 39 lines]
> instructions could know which client release and fixpack you are running, so
> there is no way they can say that no rebind is necessary.

Well, it says it. "This requirement does not apply to clients." Hence
the wasted time.  I don't pretend to be a database architect, which is
why I rely on the documentation to tell me what things need to be done
when you apply a fixpak. DB2 documention is pretty reliable, that is why
we went looking for application issues first.

We had upgraded all our clients for this application to FP13 as well and
 had dropped and re-created all the run-time client instances.
Mark A - 26 Sep 2006 21:12 GMT
> Well, it says it. "This requirement does not apply to clients." Hence the
> wasted time.  I don't pretend to be a database architect, which is why I
[quoted text clipped - 4 lines]
> We had upgraded all our clients for this application to FP13 as well and
> had dropped and re-created all the run-time client instances.

It gets a little confusing if they are talking about the client that is
installed on the server. These are usually automatically updated when the
server is updated.

But remote clients are different, and potentially a remote bind is need for
them. Sometimes it is not needed if the particular code did not change on
the client, but the server install instructions have no way of knowing which
version of the client you have, and they don't know which server fixpack you
are upgrading from.
73blazer - 26 Sep 2006 22:44 GMT
>>Well, it says it. "This requirement does not apply to clients." Hence the
>>wasted time.  I don't pretend to be a database architect, which is why I
[quoted text clipped - 14 lines]
> version of the client you have, and they don't know which server fixpack you
> are upgrading from.

Yep, thanks for clarifying, I understand. I just thought I'd post so
others around the world if they go searching around, it's one more place
to find an answer.
Lisa - 27 Sep 2006 22:46 GMT
The bind file db2schema.bnd is needed to create a package for a stored
procedure that is used by CLI-based applications (and JDBC/.NET/etc).

Since the package is for a stored procedure and stored procedures are
always executed at the server, the bind file should only be bound at
the server (connected locally).

The only utilities that needs to be bound from a remote client are
"db2cli.lst", "db2ubind.lst" (and perhaps one of the ddcs*.lst lists if
you are connecting to host databases like DB2 on z/OS).

This is true for both DB2 UDB Version 8 and DB2 UDB Version 9.  The
instructions do not change between DB2 UDB Version 8 FixPak 11 and 13.

I'm afraid I can't tell what the cause of your problem was based on the
error message, but if it happens again I recommend that you contact DB2
technical support.  SQL0443N is a rather common error message.  The
important part of its messages is the diagnostic text.  For example in
your case, this would be "Error sdaiESYSERROR     : Underlying system
error  ( RdbMapping::RdbMapping  CATDbCursor Error in Select )...".
If you wish to get a better understanding of what this "underlying
system error" was, and how/if the problem was resolved, there may be an
entry in the db2diag.log at that time with some additional details.

For more information about the meaning of that error, refer to:
http://publib.boulder.ibm.com/infocenter/db2luw/v8//topic/com.ibm.db2.udb.doc/co
re/rsql0400.htm


You can see more information about the db2schema.bnd bind file in the
DB2 UDB Version 8 and DB2 Version 9 documentation here (respectively):
http://publib.boulder.ibm.com/infocenter/db2luw/v8//topic/com.ibm.db2.udb.doc/ad
/r0007866.htm

http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cl
i.doc/doc/r0007866.htm


73blazer wrote:
> Mark A wrote:
> >
[quoted text clipped - 58 lines]
> improvments for certain operations! We admins rarly ever get positive
> feedback, so something must be really be good.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.