<?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 remove row split key from a data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257920#M57318</link>
    <description>&lt;P&gt;Pleas show exactly how your data is, do all those lines appear in one observation in SAS (post a sample of the excel file maybe)? &amp;nbsp;I assume that this is on import, but when I did this, simple proc import on an Excel file, it put the whole record on one observation and removed alt+enters. &amp;nbsp;So I don't see why you have this issue. &amp;nbsp;Please explain your process further.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2016 09:20:28 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-03-21T09:20:28Z</dc:date>
    <item>
      <title>how to remove row split key from a data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257882#M57306</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I read an excel file into SAS,I found the variable were splited in to several rows, maybe there are something like ENTER keys in the excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to remove these 'split' &lt;STRONG&gt;&lt;U&gt;in sas data set&lt;/U&gt;&lt;/STRONG&gt; and make the variable in one row?&amp;nbsp; I want to do this because I can't use 'findw'&amp;nbsp; function correctly to find a special character in it.&amp;nbsp; the variable X looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;X=des2MKDWhaghv,Machinachinable&lt;BR /&gt;DSZCF3DigitRuralMachinableWs,&lt;BR /&gt;DSCWF73&lt;BR /&gt;DiitNoralMJchinableSghtTY&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I need x like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;X=des2MKDWhaghv,MachinachinableDSZCF3DigitRuralMachinableWs,DSCWF73DiitNoralMJchinableSghtTY&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried use compress(x) but still not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 22:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257882#M57306</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-03-20T22:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove row split key from a data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257884#M57307</link>
      <description>&lt;P&gt;Try COMPRESS with the S modifier. It removes print control characters as well:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compress(x, ,'S');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Mar 2016 01:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257884#M57307</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-03-21T01:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove row split key from a data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257893#M57310</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;new=compress(x,'0D0A'x);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Mar 2016 01:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257893#M57310</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-03-21T01:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove row split key from a data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257920#M57318</link>
      <description>&lt;P&gt;Pleas show exactly how your data is, do all those lines appear in one observation in SAS (post a sample of the excel file maybe)? &amp;nbsp;I assume that this is on import, but when I did this, simple proc import on an Excel file, it put the whole record on one observation and removed alt+enters. &amp;nbsp;So I don't see why you have this issue. &amp;nbsp;Please explain your process further.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 09:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-remove-row-split-key-from-a-data/m-p/257920#M57318</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-21T09:20:28Z</dc:date>
    </item>
  </channel>
</rss>

