<?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: Cross-Post From Text Mining Community Forum - Newbie Question in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196410#M2551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you MIguel. You are the first to respond to my query. Thank you - it helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Onto the last-minute question I tacked-on at the end...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"is there a way to specify where I would like the SAS data file (.sas7bdat) to be placed and named?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:39:50 GMT</pubDate>
    <dc:creator>Zachary</dc:creator>
    <dc:date>2015-03-12T15:39:50Z</dc:date>
    <item>
      <title>Cross-Post From Text Mining Community Forum - Newbie Question</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196408#M2549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Cross-posting from the Text Mining Community Forum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to the Text Mining and I just went through the great course taught by some of the SAS folks. Just when I thought Enterprise Miner had a tremendous amount of bells, whistles, and options now I see that Text Mining has quite a lot of good stuff as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experimenting with the import of some data. I will be reading in hundreds of thousands of cases where about ten of them are sort of standard fields while two of them will be large text fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I THINK the best way to create this file is within Enterprise Miner instead of Enterprise Guide, but I am not 100% sure. My text file will be custom-delimited by |s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I wish to have a little control over the&amp;nbsp; length of my text field. Each of them will have up to 4,000 characters. I realize I can use the Guessing Rows property to try and make this work, but I am looking for a slightly finer level of control. Is there a way to specify the field length somewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, while I am at it, is there a way to specify where I would like the SAS data file (.sas7bdat) to be placed and named?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 18:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196408#M2549</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-03-06T18:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Post From Text Mining Community Forum - Newbie Question</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196409#M2550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Zachary,&lt;/P&gt;&lt;P&gt;Did you get what you needed from the Text Mining community?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a couple ways to do this. Since you have your file already delimited by pipes, you can use proc import with a dlm='|' on the infile option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. (change &lt;SPAN style="font-size: 13.3333330154419px;"&gt;C:\Users\test.txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; for the path and name of your data&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;infile '&lt;SPAN style="font-size: 13.3333330154419px;"&gt;C:\Users\test.txt&lt;/SPAN&gt;' dsd dlm='|';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I grabbed this example from Indiana University's Knowledge base:&lt;/P&gt;&lt;P&gt;Data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Infile "C:\Users\test.txt" DLM='|' DSD LRECL=400 FIRSTOBS=2; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Input ID Age Sex $ Income Race $ Hight Weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source: &lt;A href="https://kb.iu.edu/d/bcjf" title="https://kb.iu.edu/d/bcjf"&gt;https://kb.iu.edu/d/bcjf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info about reading delimited text files here: &lt;A href="http://support.sas.com/techsup/technote/ts673.pdf" title="http://support.sas.com/techsup/technote/ts673.pdf"&gt;http://support.sas.com/techsup/technote/ts673.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 13:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196409#M2550</guid>
      <dc:creator>M_Maldonado</dc:creator>
      <dc:date>2015-03-12T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Post From Text Mining Community Forum - Newbie Question</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196410#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you MIguel. You are the first to respond to my query. Thank you - it helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Onto the last-minute question I tacked-on at the end...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"is there a way to specify where I would like the SAS data file (.sas7bdat) to be placed and named?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196410#M2551</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-03-12T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Post From Text Mining Community Forum - Newbie Question</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196411#M2552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Yes, for sure. Use a LIBNAME statement to specify where you want to write the SAS dataset. You can give the dataset any name you wish as long as it conforms to SAS naming conventions. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;For example, this would write a dataset (you specify the name) to the path associated with the myplace library. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;libname myplace '&lt;STRONG&gt;your_path_goes_here&lt;/STRONG&gt;';&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Data myplace.&lt;STRONG&gt;dataset_name_you_choose_goes_here&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; Infile "C:\Users\test.txt" DLM='|' DSD LRECL=400 FIRSTOBS=2;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; Input ID Age Sex $ Income Race $ Hight Weight;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:52:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Cross-Post-From-Text-Mining-Community-Forum-Newbie-Question/m-p/196411#M2552</guid>
      <dc:creator>rayIII</dc:creator>
      <dc:date>2015-03-13T18:52:10Z</dc:date>
    </item>
  </channel>
</rss>

