|
OKogan=YIIhEVrBDcoOKQVC8Cy+LtBPR1lH4CV8@public.gmane.org wrote: > Hi all, > We have data in a file stored in a binary capable VARCHAR field (CCSID >65535). This is ASCII data compressed with a GZIP in java. > If I retrieve and unzip this data in java program it works just fine. > > When I try to do the same thing in RPG it gives me an error Message . . . . : > > Java exception received when calling Java method. > Cause . . . . . : RPG procedure UNZIPSTR in program UNZIPSTR/OLEG received > Java exception "java.io.IOException: Not in GZIP format" when calling method > "<ini" with signature "" in class "java.util.zip.GZIPInputStream". > I think you're running into the same problem that DReid is having with RPG automatically doing a CCSID conversion from the job CCSID to ASCII. Since your data is already ASCII, this won't work. See my reply to DReid.
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.