• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception accessing DB2 with Sun JDK

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic