×
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.
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
As an Amazon Associate we earn from qualifying purchases.