<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc http cannot return large GZIP Files in Developers</title>
    <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850106#M6249</link>
    <description>&lt;P&gt;All updates are in place. I am currently running my code on SAS 9.4. In particular:&amp;nbsp;9.04.01M7P080520&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 16:16:28 GMT</pubDate>
    <dc:creator>daRocha</dc:creator>
    <dc:date>2022-12-16T16:16:28Z</dc:date>
    <item>
      <title>proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/849963#M6246</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My question is related with the issue reported here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Developers/proc-http-can-not-return-GZIP-file-gt-64-KB/td-p/645154" target="_blank"&gt;https://communities.sas.com/t5/Developers/proc-http-can-not-return-GZIP-file-gt-64-KB/td-p/645154&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am facing the exact same issue and in the original thread, even though the issue is marked as solved, the last comment made by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11650"&gt;@SimonDawson&lt;/a&gt;&amp;nbsp; says:&lt;BR /&gt;&lt;EM&gt;"This will be looked at and addressed in a future release."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Has any progress been done or is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;daRocha&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 21:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/849963#M6246</guid>
      <dc:creator>daRocha</dc:creator>
      <dc:date>2022-12-15T21:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850031#M6247</link>
      <description>&lt;P&gt;Are you using the latest sas release with hotfixes applied?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 07:37:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850031#M6247</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-12-16T07:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850106#M6249</link>
      <description>&lt;P&gt;All updates are in place. I am currently running my code on SAS 9.4. In particular:&amp;nbsp;9.04.01M7P080520&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 16:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850106#M6249</guid>
      <dc:creator>daRocha</dc:creator>
      <dc:date>2022-12-16T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850331#M6250</link>
      <description>&lt;P&gt;Open a track with sas tech support, they should know if the bug will be fixed with m8 or if the plans to fix the issue have been abandoned.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 11:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850331#M6250</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-12-19T11:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850562#M6251</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28035"&gt;@daRocha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I checked with SAS R&amp;amp;D and found out:&lt;/P&gt;
&lt;P&gt;The fix is in 9.4m7 and beyond and in Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:52:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850562#M6251</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2022-12-21T02:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850603#M6252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214450"&gt;@joeFurbee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the tests I ran it does not seem to be working with my version (9.04.01M7P080520)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, this code works for small files:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*API Endpoint */
%let urlLink=https://reference-data-api.kaiko.io/v1/exchanges;

/*Temp work location*/
%let dataLoc=%sysfunc(getoption(work))\kkExhange;
/*Create location and assign lib*/
options dlcreatedir;
libname kkExchan "&amp;amp;dataLoc.";
options nodlcreatedir;

/* Results file*/
filename KaikoEx "&amp;amp;dataLoc.\metaKaiko.json.gz";

proc http 
  url="&amp;amp;urlLink."
    method='get'
    out=KaikoEx;
  headers
    'Accept' = 'application/json'
    'Accept-Encoding'= 'gzip, deflate, br';
run;

/*Filename poiting to the results file as gzip*/
filename KaikoEx zip "&amp;amp;dataLoc.\metaKaiko.json.gz" gzip;
filename KaikMap temp;

/*Json libname */
libname KaikoExc json fileref=KaikoEx map=KaikMap automap=create;

/*List json file contents*/
proc contents data=kaikoExc._all_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but when I use the same code for a larger gzip file it does not work. For large files, I am using the API Endpoint to test:&lt;BR /&gt;&lt;A href="https://reference-data-api.kaiko.io/v1/instruments" target="_self"&gt;https://reference-data-api.kaiko.io/v1/instruments&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something wrong with my code or do I need to update my SAS version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;daRocha&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 12:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850603#M6252</guid>
      <dc:creator>daRocha</dc:creator>
      <dc:date>2022-12-21T12:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850792#M6253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28035"&gt;@daRocha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Your SAS version should have the patch. We may have to open a tech support ticket to investigate. Before we do that, the developer I spoke with asked the following:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Can he provide the debug logs for the run? Setting logger App.tk.HTTPC to debug would be good to see what is going on.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide the logs for us here?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 15:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850792#M6253</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2022-12-22T15:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc http cannot return large GZIP Files</title>
      <link>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850859#M6254</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28035"&gt;@daRocha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The developer took another look at this and while the error seems to be suppressed in his testing the file is not processed. IOW, we still have an issue. I'll follow the progress of the fix and will update you when it's fixed and in which version of SAS 9.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 20:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/proc-http-cannot-return-large-GZIP-Files/m-p/850859#M6254</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2022-12-22T20:18:01Z</dc:date>
    </item>
  </channel>
</rss>

