|
but trying to manipulate simple bits & bytes like I do in every other
language is like pulling teeth.
Thanks all you guys for your replies, and thanks for the code, Phil.
Did I mention that I'm not much of a Java programmer? ;-) However I did
finally manage to get your class compiled and got my guy to call it.
Wow, it does such a good job of stripping everything that there's no
hint of carriage control left. Not a problem for XML data, but I'm
hoping to generate a PDF, so I at least need to know where the lines
end.
Sounds like the most expedient way out of this is to use CPYSPLF as has
been suggested.
I may be back here in a while asking elementary Java questions, like how
I interrogate the first byte of a line I read (I'll probably go the FCFC
route on CPYSPLF) and how I get rid of the first byte and keep the rest
of the line. I'm thinking stringbuffer... Every time I work with this
language I'm amazed at how the simple and complex are reversed. Using
somebody else's jar and a few lines of code I can create a PDF document,
but trying to manipulate simple bits & bytes like I do in every other
language is like pulling teeth.
Thanks again,
-Marty
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
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.