<?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: Import Password Protected Text Files in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101694#M28551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize because I didn't explain myself well.&amp;nbsp; I realize I can't password protect a .txt file so I guess I meant have in a zipped, password protected folder and extract from there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your post will be useful for when I have extracted the text into a SAS data set, but I'm talking about before I've even imported it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 21:02:31 GMT</pubDate>
    <dc:creator>shellp55</dc:creator>
    <dc:date>2012-10-19T21:02:31Z</dc:date>
    <item>
      <title>Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101692#M28549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some data files that I would like to password protect for security reasons but still be able to import and manipulate in SAS.&amp;nbsp; Most of the data manipulations are summary of the stats so I'm not as worried about the security of the final data form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible and how do I do it?&amp;nbsp; Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 14:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101692#M28549</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-19T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101693#M28550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your 'data files' are SAS data sets, there are a series of data set options that can be used to provide various levels of password and/or encryption.&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/ledsoptsref/63326/HTML/default/viewer.htm#n03k13diwk36x1n1az3mpixdfbfp.htm"&gt;http://support.sas.com/documentation/cdl/en/ledsoptsref/63326/HTML/default/viewer.htm#n03k13diwk36x1n1az3mpixdfbfp.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 16:51:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101693#M28550</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-19T16:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101694#M28551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize because I didn't explain myself well.&amp;nbsp; I realize I can't password protect a .txt file so I guess I meant have in a zipped, password protected folder and extract from there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your post will be useful for when I have extracted the text into a SAS data set, but I'm talking about before I've even imported it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 21:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101694#M28551</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-19T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101695#M28552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. can you use x commands at your site?&lt;/P&gt;&lt;P&gt;2. Are you using Windows SAS or SAS on a Server?&lt;/P&gt;&lt;P&gt;3. What zipped the file, 7Zip or WinZIP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 22:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101695#M28552</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-10-19T22:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101696#M28553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered placing the unzipped text files in a folder/directory to which you have exclusive read/write access?&amp;nbsp; I have seen this used successfully in several sites.&amp;nbsp; The advantage is that you can read and analyse the data without any password requirement, but other users cannot access the data even if they use your code.&amp;nbsp; Once the data has been read it can be zipped and password protected for archive, for additional security.&amp;nbsp; The same folder can be the library holding record level datasets, if required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 23:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101696#M28553</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2012-10-19T23:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101697#M28554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.you can directly read compressed data without extracting them first using SASZIPAM.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please refer the following sugi for the detailed usage.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/155-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/155-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Now too your question, whether we can read a password protected zip file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Yes,This is also possible if the unzip/ uncompress software that you use in your environment allows this.&amp;nbsp; In unix environment pkzip software allows this. I hope similarly winzip can do the same in windows environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2012 16:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101697#M28554</guid>
      <dc:creator>jonam</dc:creator>
      <dc:date>2012-10-21T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101698#M28555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If those files are "restorable" with a system command then there should be no problem to import them through a pipped command line.&lt;/P&gt;&lt;P&gt;You just have to adjust your previous file assignment to a proper file pipe command assignment. Now, important thing is, beside providing the necessary password you need to add the flag which redirects processing to screen/console (in order to pipe the result). You'll have to find this flag in the zip command documentation you're using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Unix using the zip command, it should look like this (-c is the flag which redirects output to screen):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;* flags: -c output to stdout, -q quiet mode, -P specify the password;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;filename myfile pipe 'unzip -cq –P mypass FILE.zip' ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt; _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile myfile; * import file;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _infile_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers from Portugal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 14:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101698#M28555</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2012-10-22T14:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101699#M28556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for such detailed answers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for what I have "on-site", I am an off-site consultant and keep the data on my drive.&amp;nbsp; I have encrypted files, security software etc. but want to take extra steps to ensure that the data is not compromised via hacking or anything so being able to extract from a zipped file makes the most sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll review all responses in more detail and may have more questions....thanks again to all of you.&amp;nbsp; I love this site!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 19:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101699#M28556</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-22T19:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101700#M28557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jonam,&lt;/P&gt;&lt;P&gt;Although I have not had it fail, I just recently learned that the SASZIPAM fileref engine is not recommended for use by SAS.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/31/244.html"&gt;http://support.sas.com/kb/31/244.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 20:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101700#M28557</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-23T20:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101701#M28558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still working on this and though I posted about SASZIPAM earlier today, I would still like to review your PIPE method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You provided me with the code using the Unix zip command but can you advise where I can find out about the Windows (7) one?&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101701#M28558</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2013-01-30T17:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101702#M28559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shellp55,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the x command to unzip files on the PC requires a special (a.k.a. extra cost) add-on for WinZip.&amp;nbsp; However, 7Zip includes that tool in its distribution (and 7zip can process WinZip encrypted files).&amp;nbsp; Of course, this adds the extra layer of protecting the password in your SAS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101702#M28559</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-01-30T17:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101703#M28560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; Right now each single file is in a winzip folder and I'm going to be combining them into one so I will look at 7Zip. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101703#M28560</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2013-01-30T18:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101704#M28561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what the issue is but I can't get this to work either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error log:&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; filename test Pipe '7za e "F:\files\Test.7z"&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; "myfile.txt" -y -so';&lt;BR /&gt;3&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; data import_test;&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; infile test;&lt;BR /&gt;6&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; input @1&amp;nbsp;&amp;nbsp;&amp;nbsp; Prov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1.&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2&amp;nbsp;&amp;nbsp;&amp;nbsp; Inst&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $4.&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6&amp;nbsp;&amp;nbsp;&amp;nbsp; Fyear&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $4.&lt;BR /&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @10&amp;nbsp;&amp;nbsp; Period&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @12&amp;nbsp;&amp;nbsp; Batch&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @14&amp;nbsp;&amp;nbsp; AbsNo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $3.&lt;BR /&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @18&amp;nbsp;&amp;nbsp; Coder&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @20&amp;nbsp;&amp;nbsp; ChartNo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $10.&lt;BR /&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @30&amp;nbsp;&amp;nbsp; RegNo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $7.&lt;BR /&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @37&amp;nbsp;&amp;nbsp; SecChartNo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $10.&lt;BR /&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @47&amp;nbsp;&amp;nbsp; MatNBChart&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $10.&lt;BR /&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @57&amp;nbsp;&amp;nbsp; HCN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $12.&lt;BR /&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @69&amp;nbsp;&amp;nbsp; Postal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $6.&lt;BR /&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @75&amp;nbsp;&amp;nbsp; Rescode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $7.&lt;BR /&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @82&amp;nbsp;&amp;nbsp; Sex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1.&lt;BR /&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @83&amp;nbsp;&amp;nbsp; ProvHCN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @85&amp;nbsp;&amp;nbsp; RFP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2.;&lt;BR /&gt;24&lt;BR /&gt;25&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;NOTE: The infile TEST is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS=7za e "F:\files\Test.7z""myfile.txt"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -y -so,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=256&lt;/P&gt;&lt;P&gt;Stderr output:&lt;BR /&gt;'7za' is not recognized as an internal or external command,&lt;BR /&gt;operable program or batch file.&lt;BR /&gt;NOTE: 0 records were read from the infile TEST.&lt;BR /&gt;NOTE: The data set WORK.IMPORT_TEST has 0 observations and 17 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong with my code and if not, what should I be troubleshooting?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 21:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101704#M28561</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2013-01-30T21:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import Password Protected Text Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101705#M28562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an FYI that the software to use the x command for WinZip is a free download so I tried that.&amp;nbsp; Based on the information, including the syntax to do so, I ran the program below but it isn't extracting from the text file portion.&amp;nbsp; The log doesn't indicate any errors, just that "0 records were read from the infile testing".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please advise why this isn't working?&amp;nbsp;&amp;nbsp; Any and all assistance greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename testing pipe '"C:\Program Files\WinZip\wzunzip.exe" -vb F:\myfolder\Test.zip test.txt';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data work.import_test;&lt;BR /&gt;infile testing truncover LRECL = 5000 firstobs=10;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;input @1 Prov&amp;nbsp;&amp;nbsp; $1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @2 Inst&amp;nbsp;&amp;nbsp; $4.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @6 Fyear&amp;nbsp;&amp;nbsp; $4.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @10 Period&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @12 Batch&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @14 AbsNo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $3.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @18&amp;nbsp; Coder&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @20 ChartNo&amp;nbsp;&amp;nbsp; $10.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @30 RegNo&amp;nbsp;&amp;nbsp; $7.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @37 SecChartNo&amp;nbsp; $10.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @47 MatNBChart&amp;nbsp; $10.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @57 HCN&amp;nbsp;&amp;nbsp; $12.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @69 Postal&amp;nbsp;&amp;nbsp; $6.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @75 Rescode&amp;nbsp;&amp;nbsp; $7.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @82 Sex&amp;nbsp;&amp;nbsp; $1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @83 ProvHCN&amp;nbsp;&amp;nbsp; $2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @85 RFP&amp;nbsp;&amp;nbsp; $2.;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 22:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Password-Protected-Text-Files/m-p/101705#M28562</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2013-01-30T22:54:09Z</dc:date>
    </item>
  </channel>
</rss>

