<?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: how to unzip .sas7bdat.gz file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731689#M227934</link>
    <description>Unfortunately that version does not support GZIP. If you have XCMD enabled you can use your OS to unzip the software as a workaround.</description>
    <pubDate>Tue, 06 Apr 2021 19:43:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-04-06T19:43:17Z</dc:date>
    <item>
      <title>how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731682#M227928</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename target "/sas/base.sas7bdat";
filename fromzip ZIP "/sas/base.sas7bdat.gz" GZIP;

data _null_;
	infile fromzip lrecl=256 recfm=F length=length eof=eof unbuf;
	file target lrecl=256 recfm=N;
	input;
	put _infile_  $varying256. length;
	return;
  eof:
    stop;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to unzip&amp;nbsp;&lt;CODE class=" language-sas"&gt;base.sas7bdat.gz&lt;/CODE&gt;&amp;nbsp;file by using above script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, i end up with below errors:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ERROR: Error in the FILENAME statement.&lt;BR /&gt;ERROR 23-2: Invalid option name GZIP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: No logical assign for filename FROMZIP.&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Could someone help me with this issue.&lt;/P&gt;
&lt;P&gt;I am using SAS EG V7.11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;vnreddy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 19:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731682#M227928</guid>
      <dc:creator>vnreddy</dc:creator>
      <dc:date>2021-04-06T19:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731685#M227930</link>
      <description>Please verify your SAS version, not EG. GZIP support was added quite late 9.4M5+, so I suspect your version doesn't support it. &lt;BR /&gt;Your code looks correct per &lt;A href="https://blogs.sas.com/content/sasdummy/2017/10/10/reading-writing-gzip-files-sas/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2017/10/10/reading-writing-gzip-files-sas/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can verify your version with the following:&lt;BR /&gt;&lt;BR /&gt;proc product_status;run;</description>
      <pubDate>Tue, 06 Apr 2021 19:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731685#M227930</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-06T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731688#M227933</link>
      <description>It's :&lt;BR /&gt;For Base SAS Software ...&lt;BR /&gt;   Custom version information: 9.4_M4&lt;BR /&gt;   Image version information: 9.04.01M4P110916</description>
      <pubDate>Tue, 06 Apr 2021 19:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731688#M227933</guid>
      <dc:creator>vnreddy</dc:creator>
      <dc:date>2021-04-06T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731689#M227934</link>
      <description>Unfortunately that version does not support GZIP. If you have XCMD enabled you can use your OS to unzip the software as a workaround.</description>
      <pubDate>Tue, 06 Apr 2021 19:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731689#M227934</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-06T19:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731692#M227936</link>
      <description>I just tried :&lt;BR /&gt;PROC OPTIONS OPTION=XCMD VALUE;&lt;BR /&gt;RUN;&lt;BR /&gt;    SAS (r) Proprietary Software Release 9.4  TS1M4&lt;BR /&gt;Option Value Information For SAS Option XCMD&lt;BR /&gt;    Value: NOXCMD&lt;BR /&gt;    Scope: SAS Session&lt;BR /&gt;    How option value set: Site Administrator Restricted</description>
      <pubDate>Tue, 06 Apr 2021 19:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731692#M227936</guid>
      <dc:creator>vnreddy</dc:creator>
      <dc:date>2021-04-06T19:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to unzip .sas7bdat.gz file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731693#M227937</link>
      <description>You'll have to talk to your IT team then about a different option - either upgrade to a later version, M5 is about 4 years old now, or allow you to pass system commands or they may require you to do it externally, outside of SAS.</description>
      <pubDate>Tue, 06 Apr 2021 19:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-unzip-sas7bdat-gz-file/m-p/731693#M227937</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-06T19:58:29Z</dc:date>
    </item>
  </channel>
</rss>

