<?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: symbolic reference not resolved. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836493#M41501</link>
    <description>&lt;P&gt;Your %put statement refers to &amp;amp;dt. But the code you posted never creates &amp;amp;dt. It must come from other code not shown here that sometimes runs and sometimes doesn't run.&lt;BR /&gt;&lt;BR /&gt;Also note, you use today() both with and without %SYSFUNC. Since all uses are in DATA step statements, omit %SYSFUNC when using today().&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 11:31:32 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2022-10-03T11:31:32Z</dc:date>
    <item>
      <title>symbolic reference not resolved.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836487#M41500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a very basic code which I try to use to map the date ranges , yet majority of the time I get a&amp;nbsp;symbolic reference error.&lt;/P&gt;&lt;P&gt;below is the code and i have added a screen shot on the error ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data check_1;&lt;BR /&gt;dateformob=(put(intnx('mon',"&amp;amp;SYSDATE."D,-1,'e'), date9.));&lt;BR /&gt;call symput('dateformob',put(intnx('mon',"&amp;amp;SYSDATE."D,-1,'e'), date9.));&lt;BR /&gt;rfd_dt=%SYSFUNC(today());&lt;BR /&gt;format rfd_dt date9.;&lt;BR /&gt;call symput('rfd_dt',%SYSFUNC(today()));&lt;BR /&gt;TIME_RANGE=intnx('month',today(),-6,'s');&lt;BR /&gt;call symput('TIME_RANGE',intnx('month',today(),-6,'s'));&lt;BR /&gt;format TIME_RANGE date9.;&lt;BR /&gt;YYMM=(put(intnx('mon',today(),-1,'e'), yymmn4.));&lt;BR /&gt;call symput('YYMM',put(intnx('mon',today(),-1,'e'), yymmn4.));&lt;BR /&gt;dt_=%SYSFUNC(today())-1;&lt;BR /&gt;format dt_ YYMMDDN8.;&lt;BR /&gt;dt= putn( dt_,vformat(dt_));&lt;BR /&gt;run;&lt;BR /&gt;%put &amp;amp;rfd_dt &amp;amp;TIME_RANGE &amp;amp;dateformob &amp;amp;YYMM &amp;amp;dt ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harin_Jay_0-1664787826868.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75815i9981609DE205C648/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harin_Jay_0-1664787826868.png" alt="Harin_Jay_0-1664787826868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If someone can help me resolve this would be great !!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 09:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836487#M41500</guid>
      <dc:creator>Harin_Jay</dc:creator>
      <dc:date>2022-10-03T09:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic reference not resolved.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836493#M41501</link>
      <description>&lt;P&gt;Your %put statement refers to &amp;amp;dt. But the code you posted never creates &amp;amp;dt. It must come from other code not shown here that sometimes runs and sometimes doesn't run.&lt;BR /&gt;&lt;BR /&gt;Also note, you use today() both with and without %SYSFUNC. Since all uses are in DATA step statements, omit %SYSFUNC when using today().&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836493#M41501</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2022-10-03T11:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic reference not resolved.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836495#M41502</link>
      <description>&lt;P&gt;In the code you show, &amp;amp;dt is never defined.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:32:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836495#M41502</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-10-03T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic reference not resolved.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836635#M41504</link>
      <description>thanks !!</description>
      <pubDate>Tue, 04 Oct 2022 04:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/symbolic-reference-not-resolved/m-p/836635#M41504</guid>
      <dc:creator>Harin_Jay</dc:creator>
      <dc:date>2022-10-04T04:22:58Z</dc:date>
    </item>
  </channel>
</rss>

