<?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: Data cleaning: delete all the wrong format login ids in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703779#M215695</link>
    <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I am seeing some weird format logins&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Why are they weird?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; I can't find out a way to delete the records when they're made up by pure numbers.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Try this:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; if compress(VAR,,'d')=' ' then delete;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; I can't find out a way to delete the records when they're made up by pure numbers.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Try this:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; if compress(VAR,' ','d') then delete;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;SAS is not showing me those records who are made up by numbers at the first row&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What does this mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/318223"&gt;@yichentian226&lt;/a&gt;&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52304i1D8DBC5920B78D0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;Hi! As you can see I am seeing some weird format logins in the dataset. I am trying to delete them but couldn't really find out a way. Eg: login=12963 . I can't find out a way to delete the records when they're made up by pure numbers. I tried to proc sort the numbers but this didn't work, SAS is not showing me those records who are made up by numbers at the first rows. Any help is appreciated! Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2020 07:52:08 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-12-05T07:52:08Z</dc:date>
    <item>
      <title>Data cleaning: delete all the wrong format login ids</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703757#M215684</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52304i1D8DBC5920B78D0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;Hi! As you can see I am seeing some weird format logins in the dataset. I am trying to delete them but couldn't really find out a way. Eg: login=12963 . I can't find out a way to delete the records when they're made up by pure numbers. I tried to proc sort the numbers but this didn't work, SAS is not showing me those records who are made up by numbers at the first rows. Any help is appreciated! Thanks!&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 00:36:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703757#M215684</guid>
      <dc:creator>yichentian226</dc:creator>
      <dc:date>2020-12-05T00:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleaning: delete all the wrong format login ids</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703779#M215695</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I am seeing some weird format logins&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Why are they weird?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; I can't find out a way to delete the records when they're made up by pure numbers.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Try this:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; if compress(VAR,,'d')=' ' then delete;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; I can't find out a way to delete the records when they're made up by pure numbers.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Try this:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; if compress(VAR,' ','d') then delete;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;SAS is not showing me those records who are made up by numbers at the first row&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What does this mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/318223"&gt;@yichentian226&lt;/a&gt;&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52304i1D8DBC5920B78D0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;Hi! As you can see I am seeing some weird format logins in the dataset. I am trying to delete them but couldn't really find out a way. Eg: login=12963 . I can't find out a way to delete the records when they're made up by pure numbers. I tried to proc sort the numbers but this didn't work, SAS is not showing me those records who are made up by numbers at the first rows. Any help is appreciated! Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 07:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703779#M215695</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-05T07:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleaning: delete all the wrong format login ids</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703802#M215700</link>
      <description>&lt;P&gt;Please run Proc Contents on your SAS data set and tell use what the variable name is, the variable type and the format assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PICTURE you show appears to come from a spreadsheet. One of the truly obnoxious thing about spreadsheets is that certain types of files when opened with spreadsheet software &lt;STRONG&gt;will&lt;/STRONG&gt; pick and chose some values to display as a different format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what you seeing may not be the value that was in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 09:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-cleaning-delete-all-the-wrong-format-login-ids/m-p/703802#M215700</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-05T09:32:36Z</dc:date>
    </item>
  </channel>
</rss>

