<?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: DI Studio : Function not found : Expression editor in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/514082#M2645</link>
    <description>&lt;P&gt;Linus,&lt;/P&gt;&lt;P&gt;Thank you for your solution.&amp;nbsp; I don't know why I didn't see the IFC and IFN, but using IFC in combination with IS NULL did the trick.&lt;/P&gt;&lt;P&gt;This is my first venture into the community and I'm impressed.&amp;nbsp; I hope to be able to provide answers and give back after not too long.&lt;/P&gt;&lt;P&gt;Anyway, Kudos!&lt;/P&gt;</description>
    <pubDate>Sat, 17 Nov 2018 01:02:27 GMT</pubDate>
    <dc:creator>JereNeal</dc:creator>
    <dc:date>2018-11-17T01:02:27Z</dc:date>
    <item>
      <title>DI Studio : Function not found : Expression editor</title>
      <link>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/513711#M2573</link>
      <description>&lt;P&gt;I am using the SAS DI expression editor (v4.901 on Windows 7) to build an expression using a function listed in the drop-down menu.&lt;/P&gt;&lt;P&gt;It inserts the code into the expression window with placeholders for the parameters (so it's not a function name I made up arbitrarily).&lt;/P&gt;&lt;P&gt;When I try to run the code, or validate the expression, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="scroll:934357025" target="_blank"&gt;Table Loader&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;A href="select:23970:24015" target="_blank"&gt;Line 9:&lt;/A&gt; ERROR: Function ISNULL could not be located.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;isnull(PRC_ABBR, INPUT(PRC_ID,BEST25.))&lt;/P&gt;&lt;P&gt;I also get the same if I use the IF(...) function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've searched for similar issues in the Community blog and the ones I found&amp;nbsp;don't seem to apply to this particular situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a screenshot of the functions dropdown...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExpEditor.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24978iAE3709EF1565A463/image-size/large?v=v2&amp;amp;px=999" role="button" title="ExpEditor.jpg" alt="ExpEditor.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an excerpt from the log of the 'Validate Expression' function:&lt;/P&gt;&lt;P&gt;102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;103&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data null;&lt;BR /&gt;104&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set work.W577RVN;&lt;BR /&gt;105&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where isnull(PRC_ABBR, INPUT(PRC_ID,BEST25.));&lt;BR /&gt;ERROR: Function/subroutine ISNULL not found&lt;BR /&gt;106&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run cancel;&lt;/P&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case it is significant, the expression I'm trying to enter is in the mapping portion of a table-loader transformation.&lt;/P&gt;&lt;P&gt;The only guess I have is that perhaps the library that contains those functions needs to be linked-to, or referenced in some way???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;P&gt;Jere&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 23:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/513711#M2573</guid>
      <dc:creator>JereNeal</dc:creator>
      <dc:date>2018-11-15T23:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio : Function not found : Expression editor</title>
      <link>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/514063#M2641</link>
      <description>&lt;P&gt;As the help text states, this is a SQL Server function.&lt;/P&gt;
&lt;P&gt;So you can use it only if you trigger explicit SQL Pass through code to SQL Server.&lt;/P&gt;
&lt;P&gt;Not sure what your first argument mean (PRC_ABBR).&lt;/P&gt;
&lt;P&gt;In SAS you can use IS NULL or IS NOT NULL syntax, perhaps you can use that for your purpose?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't know about the IF function, might be the same.&lt;/P&gt;
&lt;P&gt;But in SAS you'll have the IFN() and IFC() function, which probably serves you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 22:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/514063#M2641</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-11-16T22:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio : Function not found : Expression editor</title>
      <link>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/514082#M2645</link>
      <description>&lt;P&gt;Linus,&lt;/P&gt;&lt;P&gt;Thank you for your solution.&amp;nbsp; I don't know why I didn't see the IFC and IFN, but using IFC in combination with IS NULL did the trick.&lt;/P&gt;&lt;P&gt;This is my first venture into the community and I'm impressed.&amp;nbsp; I hope to be able to provide answers and give back after not too long.&lt;/P&gt;&lt;P&gt;Anyway, Kudos!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 01:02:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/DI-Studio-Function-not-found-Expression-editor/m-p/514082#M2645</guid>
      <dc:creator>JereNeal</dc:creator>
      <dc:date>2018-11-17T01:02:27Z</dc:date>
    </item>
  </channel>
</rss>

