<?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: %If %Sysevalf Formatting Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228197#M41192</link>
    <description>&lt;P&gt;Consider this example where SYSEVALF get it right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let current = %sysfunc(today());
%let execution = '02OCT2015'd;

%put NOTE: &amp;amp;=current &amp;amp;=execution;
%put NOTE: %eval(&amp;amp;current = &amp;amp;execution);
%put NOTE: %sysevalF(&amp;amp;current = &amp;amp;execution);


27         %put NOTE: &amp;amp;=current &amp;amp;=execution;
NOTE: CURRENT=20363 EXECUTION='02OCT2015'd
28         %put NOTE: %eval(&amp;amp;current = &amp;amp;execution);
NOTE: 0
29         %put NOTE: %sysevalF(&amp;amp;current = &amp;amp;execution);
NOTE: 1&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Oct 2015 12:39:01 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2015-10-02T12:39:01Z</dc:date>
    <item>
      <title>%If %Sysevalf Formatting Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228178#M41187</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies if this question feels a bit pedantic - it is my first real experience with SAS Macro and I just want to make sure i'm not falling for any 'rookie errors'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following piece of code which has been written in a User written Transformation in SAS D.I studio. This code&amp;nbsp;dictates that the SSRS presence macro should only run between the certain data paremeters specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Capture.JPG" alt="Capture.JPG" src="https://communities.sas.com/t5/image/serverpage/image-id/382i40B388251DF35549/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can someone explain if I am making an obvious mistake with the first %SYSEVALF statement. The way it has been formatted within SAS D.I it appears that SAS is interpreting it as a new macro call, rather than the function I am trying to implement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the same statment elsewhere on my job canvas and the formatting seems to change any time there is a preceeding %IF statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks alot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 08:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228178#M41187</guid>
      <dc:creator>mlcross</dc:creator>
      <dc:date>2015-10-02T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: %If %Sysevalf Formatting Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228189#M41188</link>
      <description>&lt;P&gt;Don't pay too much attention the the color parser, it is not the smartest sometimes. If your code works then all good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the test you posted, I am puzzled: Function %sysevalf() is used for floating number calculations, and you use it for a boolean value.&lt;/P&gt;&lt;P&gt;It is not required nor useful as you used it.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 11:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228189#M41188</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2015-10-02T11:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: %If %Sysevalf Formatting Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228197#M41192</link>
      <description>&lt;P&gt;Consider this example where SYSEVALF get it right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let current = %sysfunc(today());
%let execution = '02OCT2015'd;

%put NOTE: &amp;amp;=current &amp;amp;=execution;
%put NOTE: %eval(&amp;amp;current = &amp;amp;execution);
%put NOTE: %sysevalF(&amp;amp;current = &amp;amp;execution);


27         %put NOTE: &amp;amp;=current &amp;amp;=execution;
NOTE: CURRENT=20363 EXECUTION='02OCT2015'd
28         %put NOTE: %eval(&amp;amp;current = &amp;amp;execution);
NOTE: 0
29         %put NOTE: %sysevalF(&amp;amp;current = &amp;amp;execution);
NOTE: 1&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Oct 2015 12:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228197#M41192</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-10-02T12:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: %If %Sysevalf Formatting Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228806#M41357</link>
      <description>&lt;P&gt;Hmm, fair point! I never thought of this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 10:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-Sysevalf-Formatting-Question/m-p/228806#M41357</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2015-10-07T10:37:24Z</dc:date>
    </item>
  </channel>
</rss>

