<?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 write mac path in sas studio for infile in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376365#M90342</link>
    <description>&lt;P&gt;Thanks its working.Is there any other file extension which i should know that is not working with sas.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jul 2017 18:16:03 GMT</pubDate>
    <dc:creator>asuman</dc:creator>
    <dc:date>2017-07-16T18:16:03Z</dc:date>
    <item>
      <title>how to write mac path in sas studio for infile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376363#M90340</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using mac and &amp;nbsp;have stored my file on desktop under folder sasuniversityedition/myfolders and the myfolders is shared with my vmware.I wrote this code &amp;nbsp;but still i am not able to run it correctly.I am getting 66 lines of error for this short code and the log windows is showing&amp;nbsp;&lt;SPAN&gt;�g��M 1338 these things.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data demo;&lt;BR /&gt;infile "/folders/myfolders/mydata.docx";&lt;BR /&gt;input gender $ age height weight;&lt;BR /&gt;run;&lt;BR /&gt;title 'check infile on mac';&lt;BR /&gt;proc print data=demo;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 18:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376363#M90340</guid>
      <dc:creator>asuman</dc:creator>
      <dc:date>2017-07-16T18:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to write mac path in sas studio for infile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376364#M90341</link>
      <description>&lt;P&gt;You cannot&amp;nbsp;read a docx file, it's not a text file. If the data is text, save it as a txt file and then work with that file.&lt;/P&gt;
&lt;P&gt;DOCX is actually a zipped XML file that has a lot of components in it. Your path is specified correctly and if you're getting errors that don't say file not found it's finding the file. It's just not a file that can be worked with easily. I wouldn't recommend starting to learn SAS by doing this type of exercise (figuring out how to read a docx file).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148419"&gt;@asuman&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using mac and &amp;nbsp;have stored my file on desktop under folder sasuniversityedition/myfolders and the myfolders is shared with my vmware.I wrote this code &amp;nbsp;but still i am not able to run it correctly.I am getting 66 lines of error for this short code and the log windows is showing&amp;nbsp;&lt;SPAN&gt;�g��M 1338 these things.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;data demo;&lt;BR /&gt;infile "/folders/myfolders/mydata.docx";&lt;BR /&gt;input gender $ age height weight;&lt;BR /&gt;run;&lt;BR /&gt;title 'check infile on mac';&lt;BR /&gt;proc print data=demo;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;Any help will be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 18:08:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376364#M90341</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-16T18:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to write mac path in sas studio for infile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376365#M90342</link>
      <description>&lt;P&gt;Thanks its working.Is there any other file extension which i should know that is not working with sas.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 18:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376365#M90342</guid>
      <dc:creator>asuman</dc:creator>
      <dc:date>2017-07-16T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to write mac path in sas studio for infile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376366#M90343</link>
      <description>&lt;P&gt;That's a long list and it depends on what you're trying to do. It's not a matter of extension it's a matter of right tool and process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, SAS&amp;nbsp;TextMiner can read and process Word and PDF files, but they're unstructured data and you can't read those in a data step. They're proprietary&amp;nbsp;formats that are locked down. Most of the&amp;nbsp;common data sources will work, ie text files, database connections, XLSX files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148419"&gt;@asuman&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks its working.Is there any other file extension which i should know that is not working with sas.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 18:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-mac-path-in-sas-studio-for-infile/m-p/376366#M90343</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-16T18:19:07Z</dc:date>
    </item>
  </channel>
</rss>

