<?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: Varchar filtering in where condition in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512917#M138182</link>
    <description>&lt;P&gt;What is "NZ", New Zealand...&lt;/P&gt;
&lt;P&gt;If you reading through an SAS/ACCESS libname, add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options msglevel=i sastrace=',,,d' sastraceloc=saslog nostsuffix;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to your program.&lt;/P&gt;
&lt;P&gt;try left(trimn()) as well.&lt;/P&gt;
&lt;P&gt;Show the log with these options enabled.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 12:06:34 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2018-11-14T12:06:34Z</dc:date>
    <item>
      <title>Varchar filtering in where condition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512913#M138179</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a column agt_cde as varchar of length 200 in NZ.&lt;/P&gt;&lt;P&gt;when i imported to sas by set statement, it is having same length ,informat &amp;amp; format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i try to filter the agt_cde by where condition, its showing 0 records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so,i changed that to length to $7. using input,even though its not filtering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me out with the reason for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512913#M138179</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2018-11-14T12:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Varchar filtering in where condition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512916#M138181</link>
      <description>&lt;P&gt;Please show the code you are using.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:05:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512916#M138181</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-11-14T12:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Varchar filtering in where condition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512917#M138182</link>
      <description>&lt;P&gt;What is "NZ", New Zealand...&lt;/P&gt;
&lt;P&gt;If you reading through an SAS/ACCESS libname, add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options msglevel=i sastrace=',,,d' sastraceloc=saslog nostsuffix;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to your program.&lt;/P&gt;
&lt;P&gt;try left(trimn()) as well.&lt;/P&gt;
&lt;P&gt;Show the log with these options enabled.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Varchar-filtering-in-where-condition/m-p/512917#M138182</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-11-14T12:06:34Z</dc:date>
    </item>
  </channel>
</rss>

