By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,226 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,226 IT Pros & Developers. It's quick & easy.

what query to ask the codepages a DB2 will read?

P: n/a
Hi all.
I am debugging a problem where one version of a JDBC
driver connects to an AS400 DB2 instance, and another
doesn't. I am told to suspect that the DBMS may not
accept UTF clients. I have no contact with either
driver vendor or a DBA. All I have is query access
to the DBMS via the one driver that works. Is there
a query I can run that lists the codepages the DBMS
will understand?
thanks,
Joe Weinstein

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Joe Weinstein wrote:
Hi all.
I am debugging a problem where one version of a JDBC
driver connects to an AS400 DB2 instance, and another
doesn't. I am told to suspect that the DBMS may not
accept UTF clients. I have no contact with either
driver vendor or a DBA. All I have is query access
to the DBMS via the one driver that works. Is there
a query I can run that lists the codepages the DBMS
will understand?
thanks,
Joe Weinstein


I don't know if there is a query, but perhaps this CCSID info might be
of help:
http://publib.boulder.ibm.com/infoce...mstsidvals.htm

For various releases of iSeries (AS/400), this can be found in the
online SQL Reference manual. Here is a starting point:
http://publib.boulder.ibm.com/pubs/h...infocenter.htm

--
Karl Hanson
Nov 12 '05 #2

P: n/a


Karl Hanson wrote:
Joe Weinstein wrote:
Hi all.
I am debugging a problem where one version of a JDBC
driver connects to an AS400 DB2 instance, and another
doesn't. I am told to suspect that the DBMS may not
accept UTF clients. I have no contact with either
driver vendor or a DBA. All I have is query access
to the DBMS via the one driver that works. Is there
a query I can run that lists the codepages the DBMS
will understand?
thanks,
Joe Weinstein


I don't know if there is a query, but perhaps this CCSID info might be
of help:
http://publib.boulder.ibm.com/infoce...mstsidvals.htm
For various releases of iSeries (AS/400), this can be found in the
online SQL Reference manual. Here is a starting point:
http://publib.boulder.ibm.com/pubs/h...infocenter.htm

--
Karl Hanson


Thanks Karl.
I found the issue was that the AS400 DBMS needed a patch
to handle clients that send SQL in multibyte charsets:

http://www-912.ibm.com/eserver/suppo...&fixid=SI07567

Joe

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.