<?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: User Define character function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157789#M30802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc FCMP allows for the creation of user defined functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/243.html"&gt;http://support.sas.com/kb/45/243.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 13:03:47 GMT</pubDate>
    <dc:creator>jwillis</dc:creator>
    <dc:date>2014-08-12T13:03:47Z</dc:date>
    <item>
      <title>User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157784#M30797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can we create user define character function is SAS.&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc fcmp outlib=sasuser.userfuncs.mymath;&lt;/P&gt;&lt;P&gt;function nm(x);&lt;/P&gt;&lt;P&gt;if x="Anuj" then Return("verma");&lt;/P&gt;&lt;P&gt;Else abort;&lt;/P&gt;&lt;P&gt;endsub;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options cmplib=sasuser.userfuncs;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;y=nm("Anuj");&lt;/P&gt;&lt;P&gt;put y;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157784#M30797</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-12T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157785#M30798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the question is, yes you could create a function to do something like that using fcmp.&amp;nbsp; TBH I don't see the value in it though, just use an if or select construct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157785#M30798</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-12T11:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157786#M30799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a func where i input a abbrevation of area and get the result of full name of area&lt;/P&gt;&lt;P&gt;like y= areaname("AZ")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then result would be "ARIZONA"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i m creating function then i m getting error ,&lt;/P&gt;&lt;P&gt;i tried to find the example for charter func but everywhere example for number.&lt;/P&gt;&lt;P&gt;Can&amp;nbsp; u please suggest on the same,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157786#M30799</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-12T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157787#M30800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a VALUE format.&amp;nbsp; Keep the data and the code separate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157787#M30800</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-08-12T12:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157788#M30801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats the second option,&amp;nbsp; I am looking for function where passing and returning character value. is it possible in sas? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157788#M30801</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-12T12:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157789#M30802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc FCMP allows for the creation of user defined functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/243.html"&gt;http://support.sas.com/kb/45/243.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157789#M30802</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-08-12T13:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157790#M30803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is, then whats wrong with my func?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157790#M30803</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-12T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157791#M30804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your specific application a FORMAT would be preferred. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;format&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; $nm &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;'Anuj'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;'verma'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;y=put(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;"Anuj"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: teal; background-color: white;"&gt;$nm.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; y;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define functions but you need to tell it the argument and the return values are characters.&amp;nbsp; Also you cannot use ABORT in a function, just return a missing value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;fcmp&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; outlib=work.userfuncs.mymath;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;function nm(x $) $;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;if x=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;"Anuj"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; then Return(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;"verma"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;endsub;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;options&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;cmplib&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;=work.userfuncs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;y=nm(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background-color: white;"&gt;"Anuj"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt; y;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157791#M30804</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-08-12T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157792#M30805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002975331.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002975331.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options cmplib = work.funcs;&lt;/P&gt;&lt;P&gt;proc fcmp outlib=work.funcs.mymath;&lt;BR /&gt; deletefunc nm;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc fcmp outlib=work.funcs.mymath;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function nm(x $) $ 5;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if x='Anuj' then Return('verma'); else return('abort');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endsub;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=nm('Anuj');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put y;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157792#M30805</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-08-12T14:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157793#M30806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your guidance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157793#M30806</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-12T14:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: User Define character function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157794#M30807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, principally as I don't like formats:&lt;/P&gt;&lt;P&gt;data countries;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length code $2 decode $200;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code="AU"; decode="Austria"; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code="UK"; decode="United Kingdom"; output;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BASE.*,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (select distinct THIS.DECODE from COUNTRIES THIS where THIS.CODE=BASE.CODE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as COUNTRY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVE BASE;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;You could also do the above by left joining the country data onto the base table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-Define-character-function/m-p/157794#M30807</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-12T14:22:20Z</dc:date>
    </item>
  </channel>
</rss>

