<?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: sas function &amp;quot; !! &amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237284#M268270</link>
    <description>The table at the bottom of this page does a good job of summarizing the operators:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm&lt;/A&gt;</description>
    <pubDate>Wed, 02 Dec 2015 00:33:52 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-12-02T00:33:52Z</dc:date>
    <item>
      <title>sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237247#M268266</link>
      <description>&lt;P&gt;Hi folks, has anyone used “!!”? what is the difference between !! and ||? The code below gave me the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt;input a1 $ a2 $;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;ab ac&lt;/P&gt;&lt;P&gt;aa b&lt;/P&gt;&lt;P&gt;cc c&lt;/P&gt;&lt;P&gt;aa aa&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data tt;&lt;/P&gt;&lt;P&gt;set t;&lt;/P&gt;&lt;P&gt;var=a1!!a2;&lt;/P&gt;&lt;P&gt;var2=a1||a2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 19:58:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237247#M268266</guid>
      <dc:creator>yym</dc:creator>
      <dc:date>2015-12-01T19:58:01Z</dc:date>
    </item>
    <item>
      <title>Difference between !! and ||</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237246#M268272</link>
      <description>&lt;P&gt;Hi folks, has anyone used “!!”? what is the difference between !! and ||? The code below gave me the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt;input a1 $ a2 $;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;ab ac&lt;/P&gt;&lt;P&gt;aa b&lt;/P&gt;&lt;P&gt;cc c&lt;/P&gt;&lt;P&gt;aa aa&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data tt;&lt;/P&gt;&lt;P&gt;set t;&lt;/P&gt;&lt;P&gt;var=a1!!a2;&lt;/P&gt;&lt;P&gt;var2=a1||a2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 19:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237246#M268272</guid>
      <dc:creator>yym</dc:creator>
      <dc:date>2015-12-01T19:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237249#M268267</link>
      <description>&lt;P&gt;There is no difference - both are synonyms for doing character variable concatenations. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237249#M268267</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-12-01T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237250#M268268</link>
      <description>&lt;P&gt;they have the same meaning "concatenation", so yes, you will get the same result. which one you use is up to you. I prefer the pipe symbol myself for concatenating character variables.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237250#M268268</guid>
      <dc:creator>SASBob</dc:creator>
      <dc:date>2015-12-01T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between !! and ||</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237251#M268273</link>
      <description>&lt;P&gt;So...&lt;/P&gt;
&lt;P&gt;It's all in the documentation...&lt;/P&gt;
&lt;P&gt;There might be some difficulties to use || in a native Z/OS windows.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237251#M268273</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-01T20:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237267#M268269</link>
      <description>&lt;P&gt;Once upon a time long long ago many keyboards and some of the multiple operating systems SAS runs on did not have the pipe character available. Hence use of ! instead of |.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237267#M268269</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-12-01T21:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237284#M268270</link>
      <description>The table at the bottom of this page does a good job of summarizing the operators:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm&lt;/A&gt;</description>
      <pubDate>Wed, 02 Dec 2015 00:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237284#M268270</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-02T00:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between !! and ||</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237297#M268274</link>
      <description>&lt;P&gt;This is an exact duplicate of&amp;nbsp;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/sas-function-quot-quot/m-p/237247" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/sas-function-quot-quot/m-p/237247&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not usually a good idea to start off multiple identical threads, because it makes it difficult for everyone including yourself to keep track of what's been suggested.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 01:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237297#M268274</guid>
      <dc:creator>dkb</dc:creator>
      <dc:date>2015-12-02T01:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: sas function " !! "</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237339#M268271</link>
      <description>&lt;P&gt;Also, one other thing to note is that with later versions of SAS there have been several concatenation functions added which make code both more readble, shorter, and add extra functionality (such as add a delimiter or use arrays). &amp;nbsp;In most cases I would use those rather than the pipe or !, however there is still uses for them. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;CAT&lt;/P&gt;
&lt;P&gt;CATS&lt;/P&gt;
&lt;P&gt;CATT&lt;/P&gt;
&lt;P&gt;CATX&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#n1e21rr6al5m2nn19r1fat5qxwrt.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#n1e21rr6al5m2nn19r1fat5qxwrt.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237339#M268271</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-02T09:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between !! and ||</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237389#M268275</link>
      <description>&lt;P&gt;it is my first time to post here and not familiar with different sections of the community. I was not able to find the original post so re-posted it. sorry for the duplicate&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237389#M268275</guid>
      <dc:creator>yym</dc:creator>
      <dc:date>2015-12-02T15:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between !! and ||</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237395#M268276</link>
      <description>&lt;P&gt;Several people have already answered that for you, there is no difference. &amp;nbsp;My post was an addendum to that to point out that functions are available to help readability and add additional functionality.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:43:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-function-quot-quot/m-p/237395#M268276</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-02T15:43:52Z</dc:date>
    </item>
  </channel>
</rss>

