|
From: Ewout N Boter
On 28 Sep 2007, Marshal Dunbar wrote:
My guess is you've got CCSID conversion issues.
According to the javadocs, the constructor AS400Text(int) is deprecated.
You should use AS400Text(int, AS400). That constructor will use the
CCSID of the AS/400 system you are connected to.
When I examine the entries in the byte array one by one, with parameter
value SHP78E, the result is as follows:
Position 0: -30
Position 1: -56
Position 2: -41
Position 3: -9
Position 4: -8
Position 5: -59
Position 6: 64
Position 7: 64
Position 8: 64
Position 9: 64
I wonder what the output should look like, if everything would be fine.
What should be the byte value for - for example - a character S converted
to a format that is understandable by the AS400?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.