<?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 what is the difference in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523264#M142158</link>
    <description>&lt;P&gt;I know compress function and its modifiers like 'kp' 'ka' 'kd' , but couldn't find difference in below program what will happen if I run below program?&lt;/P&gt;&lt;P&gt;data t ;&lt;/P&gt;&lt;P&gt;name='jhon peter' ;&lt;/P&gt;&lt;P&gt;a=compress(name,,'r') ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Dec 2018 14:17:42 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2018-12-22T14:17:42Z</dc:date>
    <item>
      <title>what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523264#M142158</link>
      <description>&lt;P&gt;I know compress function and its modifiers like 'kp' 'ka' 'kd' , but couldn't find difference in below program what will happen if I run below program?&lt;/P&gt;&lt;P&gt;data t ;&lt;/P&gt;&lt;P&gt;name='jhon peter' ;&lt;/P&gt;&lt;P&gt;a=compress(name,,'r') ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 14:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523264#M142158</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-12-22T14:17:42Z</dc:date>
    </item>
    <item>
      <title>what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523263#M142170</link>
      <description>&lt;P&gt;(duplicate of later post)&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 14:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523263#M142170</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-12-22T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523267#M142160</link>
      <description>I couldn't test it but it doesn't look like it will do anything.&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212246.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212246.htm&lt;/A&gt;&lt;BR /&gt;The documentation shows the different modifiers and it doesn't look like 'r' is a modifier.</description>
      <pubDate>Sat, 22 Dec 2018 14:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523267#M142160</guid>
      <dc:creator>DanielLangley</dc:creator>
      <dc:date>2018-12-22T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523268#M142161</link>
      <description>&lt;P&gt;nothing happens,&lt;/P&gt;
&lt;P&gt;to compress r use in second argument.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;find the documentation what are allowed in modifiers(third argument) and r is not of them. it generally looking for groups of letter like alphabets(a) digits(d) etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212246.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212246.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data t ;

name='jhon peter' ;

a=compress(name,'r') ;

run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Dec 2018 14:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523268#M142161</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-12-22T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523270#M142162</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;You are correct, the R is not a modifier. This is what happens:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="compress_r.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25872i1C1B9682D6693730/image-size/large?v=v2&amp;amp;px=999" role="button" title="compress_r.png" alt="compress_r.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Perhaps the OP could clarify what the desired output was going to be using 'R' in the COMPRESS Function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 14:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523270#M142162</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-12-22T14:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523274#M142163</link>
      <description>&lt;P&gt;Two very easy steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Maxim 2: Read the Log&lt;/LI&gt;
&lt;LI&gt;Maxim 1: Read the Documentation&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 22 Dec 2018 15:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-difference/m-p/523274#M142163</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-22T15:38:12Z</dc:date>
    </item>
  </channel>
</rss>

