|
I've created a class that will use the Runtime.getRuntime().exec toexecute
a command on iseries when instantiated. Once the command issucessfully
executed, it then reads the Process.getInputStream() to get theresult.
the
I've found that reading of the Process.getInputStream() works fine if
class is instatiated from a PC. However, it failed to readfrom
Process.getInputStream() data correctly when the class is instatiated
iseries. I then added some codes the print the read result in hex and,
appearantly, when the class is instantiate from iseries, the result issent
back in EBCDIC encoding format and the BufferedReader is attempting toread
it as ASCII. Well, that ain't going to work :(.that
Has anyone encountered this problem before? How can I resolve this so
this class can be run on both iseries and PC?
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.