<?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: SAS 9.4: NOTE: Unreferenced label defined : run in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806301#M317646</link>
    <description>&lt;P&gt;SHOW the CODE from the log where you compile the macro. Copy the text with all the messages, on the forum open a text box using the &amp;lt;/&amp;gt; icon and paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS uses a COLON, the : , following a word as a statement label. One strongly suspects that the code you submitted, not entered in the message window here, has a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Run :

%mend&lt;/PRE&gt;
&lt;P&gt;not Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 14:32:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-04-06T14:32:11Z</dc:date>
    <item>
      <title>SAS 9.4: NOTE: Unreferenced label defined : run.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806268#M317631</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro like this:&lt;/P&gt;
&lt;P&gt;%macro DETAIL(dataset, sheet);&lt;BR /&gt;proc export data = &amp;amp;dataset&lt;BR /&gt;outfile = "mydata..xlsx"&lt;BR /&gt;dbms = xlsx replace;&lt;BR /&gt;sheet = &amp;amp;sheet;&lt;BR /&gt;run;&lt;BR /&gt;%mend DETAIL;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;% DETAIL(dataset_a, 'Dataset A');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I execute the macro: % DETAIL(dataset_a, 'Dataset A');&lt;/P&gt;
&lt;P&gt;SAS 9.4 prints -'&lt;EM&gt;&lt;STRONG&gt;NOTE : Unreferenced label defined : run.' &lt;/STRONG&gt;&lt;/EM&gt;and keeps running forever until I break it .The strangest part is it does not throw any error or warning messages at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="inquistive_0-1649249856359.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70162iA27E5D8ABF068774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="inquistive_0-1649249856359.png" alt="inquistive_0-1649249856359.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;Thanks in advance for sharing your expertise and opinion.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 14:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806268#M317631</guid>
      <dc:creator>inquistive</dc:creator>
      <dc:date>2022-04-07T14:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806301#M317646</link>
      <description>&lt;P&gt;SHOW the CODE from the log where you compile the macro. Copy the text with all the messages, on the forum open a text box using the &amp;lt;/&amp;gt; icon and paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS uses a COLON, the : , following a word as a statement label. One strongly suspects that the code you submitted, not entered in the message window here, has a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Run :

%mend&lt;/PRE&gt;
&lt;P&gt;not Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 14:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806301#M317646</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-06T14:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806302#M317647</link>
      <description>&lt;P&gt;I ran your code and it worked successfully. I don't see any error.&lt;BR /&gt;Please remove the space between % and Detail while invoking the macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 14:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806302#M317647</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-04-06T14:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806397#M317699</link>
      <description>Thank you for suggestion. I have posted the code now.</description>
      <pubDate>Wed, 06 Apr 2022 20:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806397#M317699</guid>
      <dc:creator>inquistive</dc:creator>
      <dc:date>2022-04-06T20:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806424#M317717</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In your newly posted code I see t&lt;/P&gt;
&lt;PRE&gt;2068          proc export data = &amp;amp;DS&lt;/PRE&gt;
&lt;P&gt;I think it should be&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data =&amp;amp;dataset.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 01:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806424#M317717</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-04-07T01:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806425#M317718</link>
      <description>&lt;P&gt;From your SAS log:&lt;/P&gt;
&lt;PRE&gt;2095          %excel_pause(5):&lt;/PRE&gt;
&lt;P&gt;I think this should be a semicolon (;) not a colon (:).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 01:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806425#M317718</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-04-07T01:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806431#M317722</link>
      <description>&lt;P&gt;Log line 2091 shows a RUN followed by a colon instead of a semicolon. This is what causes run to be interpreted as a GO TO&amp;nbsp; label.&lt;/P&gt;
&lt;PRE&gt;2091          run:&lt;/PRE&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 04:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806431#M317722</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-07T04:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: NOTE: Unreferenced label defined : run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806477#M317749</link>
      <description>Thanks for pointing out. I had immediately rectified that but made difference.</description>
      <pubDate>Thu, 07 Apr 2022 11:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-NOTE-Unreferenced-label-defined-run/m-p/806477#M317749</guid>
      <dc:creator>inquistive</dc:creator>
      <dc:date>2022-04-07T11:57:37Z</dc:date>
    </item>
  </channel>
</rss>

