469,282 Members | 2,008 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

what query to ask the codepages a DB2 will read?

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
2 1045
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


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.

Similar topics

2 posts views Thread by Sandman | last post: by
7 posts views Thread by enrico via DotNetMonster.com | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.