Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception accessing DB2 with Sun JDK

 
Terry Milan
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a Sun 1.4.2 JDK and the db2jcc.jar type 4 driver attempting to access a DB2 database running in OS/390. Each time I run I receive the following exception:

SQLException caught sending request:unsupported encoding Cp037

The type 4 driver trace facility shows that returned data is encoded as EBCDIC, character set cp037. When running with a Sun JVM this throws an exception, however, when I run the same application with an IBM JVM, there is no problem.

Can anyone suggest a work around?

Thanks,
Terry
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic