<?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: Check if Date prompt macro exist in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485348#M31445</link>
    <description>&lt;P&gt;Right. The title is wrong -&amp;gt; check if prompt is empty or not would be better.&lt;/P&gt;&lt;P&gt;So %sysevalf(%superq(start)=,boolean).&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 06:39:59 GMT</pubDate>
    <dc:creator>TT_T</dc:creator>
    <dc:date>2018-08-09T06:39:59Z</dc:date>
    <item>
      <title>Check if Date prompt macro exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485044#M31428</link>
      <description>&lt;P&gt;I´m getting a date(Name: start) over a prompt and i dont know, if symexist work on dates, because i have some problems...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro test;
    %global Var;
        %if %symexist(start) = 1 %then %do;
            %let Var = startdate is DATE(%bquote('&amp;amp;start'));;
            %end;
        %else %if %symexist(start)= 0 %then %do;
        %let Var= no startdate;
        %end;
%mend;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%if %symexist(start) = 1 and %sysevalf(%superq(start)=,boolean) = 0 %then %do;&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;%if %symexist(start) = 1 and %sysevalf(%superq(start)=,boolean) = 1 %then %do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That solved it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 09:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485044#M31428</guid>
      <dc:creator>TT_T</dc:creator>
      <dc:date>2018-08-08T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Check if Date prompt macro exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485213#M31438</link>
      <description>&lt;P&gt;Your "that solved" implies that the prompt existed but for some reason there was no value assigned in some cases I believe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485213#M31438</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-08T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check if Date prompt macro exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485348#M31445</link>
      <description>&lt;P&gt;Right. The title is wrong -&amp;gt; check if prompt is empty or not would be better.&lt;/P&gt;&lt;P&gt;So %sysevalf(%superq(start)=,boolean).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 06:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Check-if-Date-prompt-macro-exist/m-p/485348#M31445</guid>
      <dc:creator>TT_T</dc:creator>
      <dc:date>2018-08-09T06:39:59Z</dc:date>
    </item>
  </channel>
</rss>

