<?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: Prefix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139963#M261472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; where cats(X) =: &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"44"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;PG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 03:58:44 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2014-01-14T03:58:44Z</dc:date>
    <item>
      <title>Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139962#M261471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to find all the records that have values starting with 44 in the variable X (a numeric variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the below but it doesn't work. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;set first;&lt;/P&gt;&lt;P&gt;where X=:'44';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 03:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139962#M261471</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2014-01-14T03:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139963#M261472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; where cats(X) =: &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"44"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;PG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 03:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139963#M261472</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-01-14T03:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139964#M261473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Apple,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this ...............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA want ;&lt;/P&gt;&lt;P&gt;x=449;&lt;/P&gt;&lt;P&gt;if substr(cats(x),1,2)='44' then want=1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 10:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Prefix/m-p/139964#M261473</guid>
      <dc:creator>KarthikSrivasthav</dc:creator>
      <dc:date>2014-01-14T10:51:40Z</dc:date>
    </item>
  </channel>
</rss>

