<?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: Macro - Results not updating in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364010#M274986</link>
    <description>&lt;P&gt;Tried closing the session again and relogged in, Macro working fine now..&lt;/P&gt;</description>
    <pubDate>Sat, 03 Jun 2017 12:33:54 GMT</pubDate>
    <dc:creator>Eram</dc:creator>
    <dc:date>2017-06-03T12:33:54Z</dc:date>
    <item>
      <title>Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364003#M274979</link>
      <description>&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am trying to learn Macros and got stuck in the very first code because its not giving any output/result..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%MACRO PRNT(ABC);&lt;BR /&gt;PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;RUN;&lt;BR /&gt;%MEND PRNT;&lt;/P&gt;&lt;P&gt;%PRNT(SASHELP.CLASS);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do i need to change the result/output setting from preferences?&lt;/P&gt;&lt;P&gt;how do i rectify this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Eram.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 11:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364003#M274979</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T11:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364004#M274980</link>
      <description>Could you please show the log. Is there any error or warning or a note in log. it appears the macro code is correct and when I executed it generated the output in result window</description>
      <pubDate>Sat, 03 Jun 2017 11:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364004#M274980</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-03T11:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364005#M274981</link>
      <description>&lt;P&gt;log doesnt say anything, just the typed macro is coming in log window with out any error, warning or note&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 11:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364005#M274981</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T11:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364006#M274982</link>
      <description>may I know the sas version you are working</description>
      <pubDate>Sat, 03 Jun 2017 11:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364006#M274982</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-03T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364007#M274983</link>
      <description>&lt;P&gt;Tried couple of times to run the macro using different conbinations but still no result but the log is showing only the Macro typed by me without any error or warning..&lt;/P&gt;&lt;P&gt;also the proc print step is coming in black color rather than blue- inside the the macro, is that ok?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2580 %MACRO PRNT_DT (ABC, V1, V2);&lt;BR /&gt;2581 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2582 VAR &amp;amp;V1 &amp;amp;V2;&lt;BR /&gt;2583 %MEND;&lt;/P&gt;&lt;P&gt;2584 %MACRO PRNT_DT = (CARS, MAKE, ORIGIN);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Expected semicolon not found. The macro will not be compiled.&lt;BR /&gt;ERROR: A dummy macro will be compiled.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2585 %MACRO PRNT_DT (ABC, V1, V2);&lt;BR /&gt;2586 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2587 VAR &amp;amp;V1 &amp;amp;V2;&lt;BR /&gt;2588 RUN;&lt;BR /&gt;2589 %MEND;&lt;/P&gt;&lt;P&gt;2591 %PRNT_DT = (CARS, MAKE, ORIGIN);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2592 %MACRO PRNT_DT (ABC, V1, V2);&lt;BR /&gt;2593 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2594 VAR &amp;amp;V1 &amp;amp;V2;&lt;BR /&gt;2595 RUN;&lt;BR /&gt;2596 %MEND PRNT_DT;&lt;/P&gt;&lt;P&gt;2602 %PRNT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2603 %MACRO PRNT(ABC);&lt;BR /&gt;2604 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2605 RUN;&lt;BR /&gt;2606 %MEND PRNT;&lt;BR /&gt;2607 %PRNT(CARS);&lt;BR /&gt;2608 %PRNT(CARS);&lt;BR /&gt;2609 %PRNT(SASHELP.CLASS);&lt;BR /&gt;2610 %PRNT(SASHELP.CLASS);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2611 %MACRO PRNT(ABC);&lt;BR /&gt;2612 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2613 RUN;&lt;BR /&gt;2614 %MEND PRNT;&lt;BR /&gt;2616 %PRNT(SASHELP.CLASS);&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 12:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364007#M274983</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T12:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364008#M274984</link>
      <description>&lt;P&gt;SAS 9.3, but am working on VMware.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 12:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364008#M274984</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T12:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364009#M274985</link>
      <description>Closed the SAS session, started a new SAS session and gave the same code, now log says, it couldn't find the variables&lt;BR /&gt;2208 %MACRO PRNT(ABC, V1, V2);&lt;BR /&gt;2209 PROC PRINT DATA=&amp;amp;ABC;&lt;BR /&gt;2210 VAR V1 V2;&lt;BR /&gt;2211 RUN;&lt;BR /&gt;2212 %MEND PRNT;&lt;BR /&gt;&lt;BR /&gt;2213 %PRNT(CARS, MAKE, ORIGIN);&lt;BR /&gt;ERROR: Variable V1 not found.&lt;BR /&gt;ERROR: Variable V2 not found.&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2214 %PRNT(WORK.CARS, MAKE, ORIGIN);&lt;BR /&gt;ERROR: Variable V1 not found.&lt;BR /&gt;ERROR: Variable V2 not found.&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2215 %PRNT(WORK.CARS, Make, Origin);&lt;BR /&gt;ERROR: Variable V1 not found.&lt;BR /&gt;ERROR: Variable V2 not found.&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Jun 2017 12:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364009#M274985</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T12:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364010#M274986</link>
      <description>&lt;P&gt;Tried closing the session again and relogged in, Macro working fine now..&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 12:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364010#M274986</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-03T12:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364038#M274987</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/146745"&gt;@Eram&lt;/a&gt;&amp;nbsp;that code is still incorrect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're missing the &amp;amp; in front of the v1 and v2.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 20:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364038#M274987</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-03T20:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Results not updating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364100#M274988</link>
      <description>Kyle you pls type in the whole program for me?&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Jun 2017 07:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Results-not-updating/m-p/364100#M274988</guid>
      <dc:creator>Eram</dc:creator>
      <dc:date>2017-06-04T07:17:44Z</dc:date>
    </item>
  </channel>
</rss>

