<?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 Parameter in Advance Filter for EG version 5.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Parameter-in-Advance-Filter-for-EG-version-5-1/m-p/143826#M11435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My workplace has just upgraded SAS Version from EG 4.1 to EG 5.1.&amp;nbsp; Many functions are changed&amp;nbsp; and I have some question about using parameter in Advance filter.&lt;/P&gt;&lt;P&gt;Basically, when we compute a column such as finding duration of&amp;nbsp; Birth date to Specific date. It can be done by&amp;nbsp; INTCK("DAY" ,t1.Birth_date , &amp;amp;Selected_Date) . It was work in EG 4.1, but not for EG 5.1 &lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp; this INTCK("DAY", t1,Birth_date, "&amp;amp;Selected_Date"d) , It works well.&amp;nbsp;&amp;nbsp; I think we have to add the tag at the end of parameter right?&amp;nbsp; In this case it is "d" because it is date format. Therefore,&lt;/P&gt;&lt;P&gt;Is there any Ideas about the syntax of using parameter?&lt;/P&gt;&lt;P&gt;If the&amp;nbsp; parameter types are not date, but they are numeric or character, what are the correct syntax? I dont think they are "&amp;amp;Parameter_Name"n&amp;nbsp; in case it is numeric type or "&amp;amp;Parameter_Name"s for string or character type. Is there any topic talking about this? &lt;/P&gt;&lt;P&gt;Moreover, I still have a question about generated code when I add parameter in simple Filter the program generate &lt;SPAN style="font-family: Calibri, sans-serif; font-size: 15px;"&gt;(%_eg_WhereParam( t1.B_Date, Start, EQ, TYPE=D, IS_EXPLICIT=0 )&lt;/SPAN&gt; .The box "&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Generate filter for a prompt Value (only applied a prompt type)”&amp;nbsp; is automatically selected. When I unchecked it, the syntax of parameter was change to &amp;amp;Start instead, but it still shown an error due to incorrect of syntax,&lt;/SPAN&gt;&amp;nbsp; Is there any topics talking about the meaning of this? I really need fully explanation about this. This will be helpful. I have talk to my consultant, but this issue is still unsolved. &lt;/P&gt;&lt;P&gt;Hope this will be clarified soon.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kindness in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 04:52:15 GMT</pubDate>
    <dc:creator>cmajorros</dc:creator>
    <dc:date>2014-03-14T04:52:15Z</dc:date>
    <item>
      <title>Parameter in Advance Filter for EG version 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Parameter-in-Advance-Filter-for-EG-version-5-1/m-p/143826#M11435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My workplace has just upgraded SAS Version from EG 4.1 to EG 5.1.&amp;nbsp; Many functions are changed&amp;nbsp; and I have some question about using parameter in Advance filter.&lt;/P&gt;&lt;P&gt;Basically, when we compute a column such as finding duration of&amp;nbsp; Birth date to Specific date. It can be done by&amp;nbsp; INTCK("DAY" ,t1.Birth_date , &amp;amp;Selected_Date) . It was work in EG 4.1, but not for EG 5.1 &lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp; this INTCK("DAY", t1,Birth_date, "&amp;amp;Selected_Date"d) , It works well.&amp;nbsp;&amp;nbsp; I think we have to add the tag at the end of parameter right?&amp;nbsp; In this case it is "d" because it is date format. Therefore,&lt;/P&gt;&lt;P&gt;Is there any Ideas about the syntax of using parameter?&lt;/P&gt;&lt;P&gt;If the&amp;nbsp; parameter types are not date, but they are numeric or character, what are the correct syntax? I dont think they are "&amp;amp;Parameter_Name"n&amp;nbsp; in case it is numeric type or "&amp;amp;Parameter_Name"s for string or character type. Is there any topic talking about this? &lt;/P&gt;&lt;P&gt;Moreover, I still have a question about generated code when I add parameter in simple Filter the program generate &lt;SPAN style="font-family: Calibri, sans-serif; font-size: 15px;"&gt;(%_eg_WhereParam( t1.B_Date, Start, EQ, TYPE=D, IS_EXPLICIT=0 )&lt;/SPAN&gt; .The box "&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Generate filter for a prompt Value (only applied a prompt type)”&amp;nbsp; is automatically selected. When I unchecked it, the syntax of parameter was change to &amp;amp;Start instead, but it still shown an error due to incorrect of syntax,&lt;/SPAN&gt;&amp;nbsp; Is there any topics talking about the meaning of this? I really need fully explanation about this. This will be helpful. I have talk to my consultant, but this issue is still unsolved. &lt;/P&gt;&lt;P&gt;Hope this will be clarified soon.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kindness in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 04:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Parameter-in-Advance-Filter-for-EG-version-5-1/m-p/143826#M11435</guid>
      <dc:creator>cmajorros</dc:creator>
      <dc:date>2014-03-14T04:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter in Advance Filter for EG version 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Parameter-in-Advance-Filter-for-EG-version-5-1/m-p/143827#M11436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already got the answer. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Parameter-in-Advance-Filter-for-EG-version-5-1/m-p/143827#M11436</guid>
      <dc:creator>cmajorros</dc:creator>
      <dc:date>2014-03-14T08:30:49Z</dc:date>
    </item>
  </channel>
</rss>

