RPG stored procedures return garbage in WebSphere or Java

When using RPG stored procedures that use arrays for result sets, it can return untranslated EBCDIC in Java when...

using the native JDBC Driver on different operating system versions. To fix this problem, add ";translate binary=true" to the end of the URL. For example, if the URL passed to getConnection method of DriverManager is "jdbc:db2:myas400" the new URL would be "jdbc:db2:myas400;translate binary=true".

This problem is that the RPG Array is returning CCSID 65535.


This was last published in March 2001

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close