× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, Barbara for that info. I'm more familiar with java on the zSeries
although I've used the iSeries as well. The JVMs on z used to be
initialized with the equivalent of file.encoding=EBCDIC meaning that all
data in and out of the JVM was assumed to be EBCDIC whereas internally it
was, of course, Unicode. That has since changed on the z. However, I
didn't know how file.encoding was initialized by a JVM started by either the
J2EE server in question or by RPG's EXTPROC(*JAVA) support. Now, I do.

Thanks again,
Gary

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Thursday, November 05, 2009 3:57 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Running in EBCDIC or ASCII

Gary L Peskin wrote:
In that case, I would look at the stuff going into your InputStream
"is".
How is it getting in there? It's possible that RPG uses an EBCDIC JVM
and
your J2EE server uses an ASCII JVM. ...


I don't think there is such a thing as an EBCDIC JVM. If the RPG is
using RPG's EXTPROC(*JAVA) support, the RPG runtime would be handling
any necessary conversions between the RPG EBCDIC and the Java ASCII for
any character parameters or return values.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.