<?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 PROC FCMP and RUN_MACRO function in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16445#M3027</link>
    <description>Is there any way to see the log generated by a macro executed using run_macro?</description>
    <pubDate>Thu, 24 Feb 2011 09:31:08 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2011-02-24T09:31:08Z</dc:date>
    <item>
      <title>PROC FCMP and RUN_MACRO function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16445#M3027</link>
      <description>Is there any way to see the log generated by a macro executed using run_macro?</description>
      <pubDate>Thu, 24 Feb 2011 09:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16445#M3027</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-24T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FCMP and RUN_MACRO function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16446#M3028</link>
      <description>zBig&lt;BR /&gt;
I'm not sure what logging you hope for.&lt;BR /&gt;
what have you tried?&lt;BR /&gt;
I tried the example in the online doc and repeated the final step using the usual macro debugging options&lt;BR /&gt;
679  option symbolgen mlogic mprint;&lt;BR /&gt;
680  data _null_;&lt;BR /&gt;
681     a = 5.3;&lt;BR /&gt;
682     b = 0.7;&lt;BR /&gt;
683     p = .;&lt;BR /&gt;
684     p = subtract_macro(a, b);&lt;BR /&gt;
685     put p=;&lt;BR /&gt;
686  run;&lt;BR /&gt;
&lt;BR /&gt;
MLOGIC(TESTMACRO):  Beginning execution.&lt;BR /&gt;
MLOGIC(TESTMACRO):  %LET (variable name is P)&lt;BR /&gt;
SYMBOLGEN:  Macro variable A resolves to 5.3&lt;BR /&gt;
SYMBOLGEN:  Macro variable B resolves to 0.7&lt;BR /&gt;
MLOGIC(TESTMACRO):  Ending execution.&lt;BR /&gt;
p=4.6&lt;BR /&gt;
NOTE: DATA statement used</description>
      <pubDate>Thu, 24 Feb 2011 11:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16446#M3028</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-24T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FCMP and RUN_MACRO function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16447#M3029</link>
      <description>Thanks for reply. I mean the full "normal" log, with e.g. all notes like &lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.03 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
Within the macro which is executed via run_macro you can have several datasteps/proc calls. I need to see all what is reported to normal log in such situation.</description>
      <pubDate>Thu, 24 Feb 2011 11:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FCMP-and-RUN-MACRO-function/m-p/16447#M3029</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-24T11:33:11Z</dc:date>
    </item>
  </channel>
</rss>

