Lim Hock-Chai skrev:
For some reasons, if this class is instantiate from RPG program, it
works correctly (Str variable will contain readable context). But if
this class is instantiate from a EJB application, that is running on an
iseries, the str variable will contain non-readable text. It is
obviously caused by bao is in EBCDIC format when running in RPG but it
is in ASCII format when running from EJB.

Any idea how I can resolve this issue?
If you need transparent code set translation you need one of the IFS-classes.

Here IFSInputStream on the AS/400 would be a good guess.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.