I also uses this library- it is super easy to use. However, follow the
build instructions carefully!!

tirs. 25. mar. 2025 kl. 04.41 skrev Hiebert, Chris via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx>:

I downloaded zlib from http://zlib.net/.
The version I got in 2021 was Version 1.2.11

Compiled it into a service program.
Then built another service program with wrapper functions to call from RPG.

I use it to uncompress and compress files, along with Scott's HTTPAPI to
download files from API calls.

Not saying its any easier than using the PASE tools. But it does provide a
native source option with the code compiled with CRTCMOD.
May even work with older OS releases.

--
Chris Hiebert
Lead Software Developer
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Greg Wilburn
Sent: Thursday, March 20, 2025 12:56 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Easiest way to extract GZIP or .GZ on IFS?


Amazon is forcing and update to inventory feeds submitted via the SP-API.
I have everything working with the new JSON_LISTINGS_FEED, except that the
response document I'm downloading from AWS is a compressed file.
Compression algorithm is "GZIP"



Once decompressed, the file is a simple JSON document.



I searched the archives and found references, but they were 8+ years old.
Hoping there's a better solution now.



TIA,

Greg


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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-2025 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.