<?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 Turning off mlogic (Macro debugging) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-mlogic-Macro-debugging/m-p/749208#M235382</link>
    <description>&lt;P&gt;I am doing some Macro experiments to test the debugging tools.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First I run the code (some random program I wrote):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mlogic;
%macro MyFun3(random); 
	data MyData; 
		%let random = %sysfunc(upcase(&amp;amp;random)); *Case insensitve
		set sashelp.cars(obs=2);
		length NewCol $ 30;
		
			%if &amp;amp;random. = AA %then %do;
				NewCol = 'AA'; 
			%end;
			
			%else %if &amp;amp;random. = BB %then %do; 
				NewCol = 'BB'; 
			%end;
			
			%else %do; 
				NewCol = "Write something valid";
			%end; 
	run;  
%mend MyFun3;

%MyFun3(AA);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then, to turn off the debugging tool "mprint" i secondly run the code:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mlogic; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The problem is that this does not turn off the option?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the question is: How do I turn off the mlogic option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 09:50:40 GMT</pubDate>
    <dc:creator>SasStatistics</dc:creator>
    <dc:date>2021-06-21T09:50:40Z</dc:date>
    <item>
      <title>Turning off mlogic (Macro debugging)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-mlogic-Macro-debugging/m-p/749208#M235382</link>
      <description>&lt;P&gt;I am doing some Macro experiments to test the debugging tools.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First I run the code (some random program I wrote):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mlogic;
%macro MyFun3(random); 
	data MyData; 
		%let random = %sysfunc(upcase(&amp;amp;random)); *Case insensitve
		set sashelp.cars(obs=2);
		length NewCol $ 30;
		
			%if &amp;amp;random. = AA %then %do;
				NewCol = 'AA'; 
			%end;
			
			%else %if &amp;amp;random. = BB %then %do; 
				NewCol = 'BB'; 
			%end;
			
			%else %do; 
				NewCol = "Write something valid";
			%end; 
	run;  
%mend MyFun3;

%MyFun3(AA);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then, to turn off the debugging tool "mprint" i secondly run the code:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mlogic; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The problem is that this does not turn off the option?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the question is: How do I turn off the mlogic option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 09:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-mlogic-Macro-debugging/m-p/749208#M235382</guid>
      <dc:creator>SasStatistics</dc:creator>
      <dc:date>2021-06-21T09:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off mlogic (Macro debugging)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-mlogic-Macro-debugging/m-p/749228#M235385</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nomlogic;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jun 2021 10:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-mlogic-Macro-debugging/m-p/749228#M235385</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-21T10:42:27Z</dc:date>
    </item>
  </channel>
</rss>

