<?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: Unnamed Pipe | Command Prompt in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569261#M11780</link>
    <description>&lt;P&gt;What are you settings for the XWAIT and XSYNC options?&lt;BR /&gt;Also is 7za an actual executable program or some type of shell script?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 19:50:20 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-06-26T19:50:20Z</dc:date>
    <item>
      <title>Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569256#M11777</link>
      <description>&lt;P&gt;I am writing a code to read off a zip file using 7zip. I have successfully done the same. However, the code makes the command prompt to open and doesn't generate the dataset entirely unless I manually close the command prompt. Is there any way in which the command prompt can be closed automatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname Orders "D:\Gautham\ISB\Ram\BSE Project\Data\Orders\SAS\Temp";

filename zipfile PIPE '7za e "D:\...\OISBHHY_060513.zip" "OISBHHY_060513" -y -so';

/*Code for reading File from Zip File*/

data Orders.Raw_Data;
	infile zipfile dlm = '|' dsd lrecl = 1024 truncover obs = 10;
	input tradesession symbol tmc cmc:$12. &lt;BR /&gt;        cat:$8. bors:$1. ordtype:$1. lp vo vd &lt;BR /&gt;        timestamp:$50. retention acttype:$1. orno:$30. actionid:$30.;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:38:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569256#M11777</guid>
      <dc:creator>goti9234</dc:creator>
      <dc:date>2019-06-26T19:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569259#M11778</link>
      <description>If the file is zip, have you tried the filename zip option instead?  You don't have to extract it then.&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/11/using-filename-zip-to-unzip-and-read-data-files-in-sas/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/05/11/using-filename-zip-to-unzip-and-read-data-files-in-sas/&lt;/A&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569259#M11778</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T19:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569260#M11779</link>
      <description>&lt;P&gt;Yes, I have tried it. These are files that have been generate on Unix so they only open with 7ZIP. They are really large files as well. Hence, I don't want to unzip them, read them and delete the unzipped one.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569260#M11779</guid>
      <dc:creator>goti9234</dc:creator>
      <dc:date>2019-06-26T19:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569261#M11780</link>
      <description>&lt;P&gt;What are you settings for the XWAIT and XSYNC options?&lt;BR /&gt;Also is 7za an actual executable program or some type of shell script?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569261#M11780</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T19:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569262#M11781</link>
      <description>&lt;P&gt;7za is an executable program. It's the command line version of 7zip. I have tried the code with the following addition as well:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options noxsync noxwait;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The program still does not work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569262#M11781</guid>
      <dc:creator>goti9234</dc:creator>
      <dc:date>2019-06-26T19:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569264#M11782</link>
      <description>This approach doesn't require you to unzip the files at all. I thought SAS added support for GZIP in the last update, if you're on M5+ at least.&lt;BR /&gt;&lt;BR /&gt;Isn't your current process unzipping and reading it, but using the OS instead of SAS?&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2019 20:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569264#M11782</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T20:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569302#M11786</link>
      <description>&lt;P&gt;I don't know what version of 7zip you have. The version 9.20 I have does not include a 7za.exe file.&lt;/P&gt;
&lt;P&gt;If I try to use the 7z.exe to extract a file to std output like your command line then 7Z complains.&lt;/P&gt;
&lt;PRE&gt;C:\&amp;gt;"C:\Program Files\7-Zip\7z.exe" e "c:\downloads\7ztest.zip" "class.txt" -y -so

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18


Error:
I won't write data and program's messages to same terminal

C:\&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Perhaps that is the difference between 7za and 7z commands?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 22:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569302#M11786</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T22:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569304#M11787</link>
      <description>I assumed 7za is a custom shortcut/alias&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2019 23:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569304#M11787</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T23:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unnamed Pipe | Command Prompt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569311#M11789</link>
      <description>&lt;P&gt;Looks like 7za.exe was removed back in 2006 time frame.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.7-zip.org/history.txt" target="_blank"&gt;https://www.7-zip.org/history.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 00:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unnamed-Pipe-Command-Prompt/m-p/569311#M11789</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-27T00:34:50Z</dc:date>
    </item>
  </channel>
</rss>

