<?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: ZIP Engine for the INFILE/FILE statements with the file to extract has a parenthesis. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722680#M224117</link>
    <description>We can assume the INZIP reference is provided somewhere?&lt;BR /&gt;Can you post your full code and log with error please?</description>
    <pubDate>Mon, 01 Mar 2021 20:36:05 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-03-01T20:36:05Z</dc:date>
    <item>
      <title>ZIP Engine for the INFILE/FILE statements with the file to extract has a parenthesis.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722675#M224114</link>
      <description>&lt;P&gt;If the file in a zip archive has a parenthesis, is it possible to unzip using the ZIP engine to the INFILE/FILE statements?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_ ;
infile inzip(one/two/test (2).xpt) lrecl = 256 recfm = F length = length eof = eof unbuf ;
file unzip lrecl = 256 recfm = N ;
input ;
put _infile_ $varying256. length ;
return ;
eof: stop ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In LSAF, I get the following messages:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="__jsview31--manifestPage--logViewer--manifestLogViewer-detail-4176" class="sasLogViewerLog sasLogViewerError sasLogViewerSelected" data-log-type="error"&gt;&amp;nbsp; &amp;nbsp;ERROR 23-2: Invalid option name .X.&lt;/DIV&gt;
&lt;DIV id="__jsview31--manifestPage--logViewer--manifestLogViewer-detail-4181" class="sasLogViewerLog sasLogViewerError" data-log-type="error"&gt;&amp;nbsp; &amp;nbsp;ERROR 23-2: Invalid option name PT.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722675#M224114</guid>
      <dc:creator>Kevin_Viel</dc:creator>
      <dc:date>2021-03-01T20:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Engine for the INFILE/FILE statements with the file to extract has a parenthesis.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722679#M224116</link>
      <description>&lt;P&gt;Because your file name includes special characters, you must enclose the member name in quotes. This should work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_ ;
   infile inzip("one/two/test(2) .xpt") lrecl = 256 recfm = F length = length eof = eof unbuf ;
   file unzip lrecl = 256 recfm = N ;
   input ;
   put _infile_ $varying256. length ;
   return ;
   eof: stop ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722679#M224116</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2021-03-01T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Engine for the INFILE/FILE statements with the file to extract has a parenthesis.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722680#M224117</link>
      <description>We can assume the INZIP reference is provided somewhere?&lt;BR /&gt;Can you post your full code and log with error please?</description>
      <pubDate>Mon, 01 Mar 2021 20:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722680#M224117</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-01T20:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Engine for the INFILE/FILE statements with the file to extract has a parenthesis.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722688#M224120</link>
      <description>&lt;P&gt;Doh!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The syntax is called aggregate syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=8.1&amp;amp;docsetId=pgmcli&amp;amp;docsetTarget=n066409vu4xdwfn17tf89hhlb5xh.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=8.1&amp;amp;docsetId=pgmcli&amp;amp;docsetTarget=n066409vu4xdwfn17tf89hhlb5xh.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution appears to be use parentheses:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_ ;
infile inzip("one/two/test (2).xpt") lrecl = 256 recfm = F length = length eof = eof unbuf ;
file unzip lrecl = 256 recfm = N ;
input ;
put _infile_ $varying256. length ;
return ;
eof: stop ;
run &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ZIP-Engine-for-the-INFILE-FILE-statements-with-the-file-to/m-p/722688#M224120</guid>
      <dc:creator>Kevin_Viel</dc:creator>
      <dc:date>2021-03-01T20:46:08Z</dc:date>
    </item>
  </channel>
</rss>

