<?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 Facing issues with call symput in SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205329#M15409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS EG for my project. I have written following code to resolve week value which is working fine in SAS 9.1. But it is not working in SAS EG. Please help with you suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dummy2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set outdata.&amp;amp;fiscal_map.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if start_dt le '22Dec2014'd and '22Dec2014'd le end_dt then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput('week_start', week_no);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;%put &amp;amp;week_start;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 21:23:58 GMT</pubDate>
    <dc:creator>athak_bharadwaj</dc:creator>
    <dc:date>2015-03-18T21:23:58Z</dc:date>
    <item>
      <title>Facing issues with call symput in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205329#M15409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS EG for my project. I have written following code to resolve week value which is working fine in SAS 9.1. But it is not working in SAS EG. Please help with you suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dummy2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set outdata.&amp;amp;fiscal_map.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if start_dt le '22Dec2014'd and '22Dec2014'd le end_dt then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput('week_start', week_no);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;%put &amp;amp;week_start;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 21:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205329#M15409</guid>
      <dc:creator>athak_bharadwaj</dc:creator>
      <dc:date>2015-03-18T21:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with call symput in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205330#M15410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code should work in EG too.&lt;/P&gt;&lt;P&gt;What warning or error messages do you get?&lt;/P&gt;&lt;P&gt;Make sure, your if condition is satisfied. Put a&amp;nbsp; putlog 'CONDITION IS TRUE';&amp;nbsp; statement above call symput. Do you see this &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'CONDITION IS TRUE' &lt;/SPAN&gt;message in the log?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 13:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205330#M15410</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-03-19T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with call symput in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205331#M15411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please describe what "not working" means. Error? Unexpected value? No output/ blank value but no error?&lt;/P&gt;&lt;P&gt;It is possible that you expect one value but more than one record satisfies your if condition. You would get the value associated with the LAST record where the condition is true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 15:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Facing-issues-with-call-symput-in-SAS-EG/m-p/205331#M15411</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-19T15:41:10Z</dc:date>
    </item>
  </channel>
</rss>

