<?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: Read in encrypted file in Unix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10966#M972</link>
    <description>You can certainly bring Unix gzip'd file to the PC; both WinZip and 7Zip were designed to read them.  You can also use command line processing in winzip and 7zip to read encrypted files on the PC.  &lt;BR /&gt;
&lt;BR /&gt;
However, what I read from your initial post was an interest in using Unix-based SAS and scripts to read a file that had been compressed and encrypted on a PC; that is what I was expressing doubts about.</description>
    <pubDate>Wed, 28 Apr 2010 13:46:27 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2010-04-28T13:46:27Z</dc:date>
    <item>
      <title>Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10961#M967</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I need to read in a zipped encrypted file in Unix using the following filename statement:&lt;BR /&gt;
&lt;BR /&gt;
filename inf 'gzcat /..../&lt;FILENAME&gt;.zip' pass="&lt;PASSWORD&gt;" ;&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
 infile inf ;&lt;BR /&gt;
  input..... ;;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
SAS give an invalid option error. Do anyone has any idea how to read the file into SAS without manually unencrypt/unzip the file ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/PASSWORD&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 27 Apr 2010 18:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10961#M967</guid>
      <dc:creator>Kwok</dc:creator>
      <dc:date>2010-04-27T18:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10962#M968</link>
      <description>hi:&lt;BR /&gt;
  These notes have some information:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/25/215.html" target="_blank"&gt;http://support.sas.com/kb/25/215.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/25/206.html" target="_blank"&gt;http://support.sas.com/kb/25/206.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  Otherwise, you might want to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 27 Apr 2010 18:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10962#M968</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-27T18:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10963#M969</link>
      <description>Hi Cythina,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your information. Your doc is helpful in decompression  but it did not address the problem of the password issue. When the file is both compressed and encrypted, that when I have problem.&lt;BR /&gt;
&lt;BR /&gt;
I have been to SAS support and the guy don't seem to understand my problem and after several back and forth. I finally throw in the towel and this forum is my last resource.&lt;BR /&gt;
&lt;BR /&gt;
Any help is deeply appreciated.</description>
      <pubDate>Tue, 27 Apr 2010 18:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10963#M969</guid>
      <dc:creator>Kwok</dc:creator>
      <dc:date>2010-04-27T18:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10964#M970</link>
      <description>The .zip extension tells me that the file was created on a PC and is in a flavor of WinZip format.  I doubt that gzcat can read it at all, let alone unencrypt it.</description>
      <pubDate>Tue, 27 Apr 2010 19:15:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10964#M970</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-04-27T19:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10965#M971</link>
      <description>I am not sure about other Unix system. But I can downlaod a gz file from unix to pc and unzip it with winzip or vice verse.  I can even downlaod a .sas7bdat file in unix to pc directly without converting to the transport format and run it without any problem.</description>
      <pubDate>Wed, 28 Apr 2010 12:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10965#M971</guid>
      <dc:creator>Kwok</dc:creator>
      <dc:date>2010-04-28T12:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read in encrypted file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10966#M972</link>
      <description>You can certainly bring Unix gzip'd file to the PC; both WinZip and 7Zip were designed to read them.  You can also use command line processing in winzip and 7zip to read encrypted files on the PC.  &lt;BR /&gt;
&lt;BR /&gt;
However, what I read from your initial post was an interest in using Unix-based SAS and scripts to read a file that had been compressed and encrypted on a PC; that is what I was expressing doubts about.</description>
      <pubDate>Wed, 28 Apr 2010 13:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-in-encrypted-file-in-Unix/m-p/10966#M972</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-04-28T13:46:27Z</dc:date>
    </item>
  </channel>
</rss>

