<?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: Why macros mess with printing sometimes? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979365#M378784</link>
    <description>If you are using a SAS server, maybe your quota is very small ,the space of output is full and suppress the print .&lt;BR /&gt;Talk to your SAS Administrator, let him  &lt;BR /&gt;enhance/enlarge your quota.</description>
    <pubDate>Sat, 22 Nov 2025 06:57:03 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2025-11-22T06:57:03Z</dc:date>
    <item>
      <title>Why macros mess with printing sometimes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979358#M378781</link>
      <description>&lt;P&gt;Hi team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes I notice that while I work on some macros for quite sometimes, even if the codes compile without error, SAS suddenly stops printing the results tab but only print the codes on log? i.e. codes are working but it wont print the results&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to restart the SAS to get out of this. Is it because of a missed ; or %mend somewhere which results it this? Is there a one stop solution without having to restart the session?&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example- see the copied codes- this was running successfully without errors but not showing the results of the print until i restarted the session..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;62 %choice(Status=PAID, course=C001)&lt;BR /&gt;MPRINT(CHOICE): data fees;&lt;BR /&gt;MPRINT(CHOICE): set certadv.all;&lt;BR /&gt;SYMBOLGEN: Macro variable STATUS resolves to PAID&lt;BR /&gt;SYMBOLGEN: Macro variable COURSE resolves to C001&lt;BR /&gt;MPRINT(CHOICE): where paid="Y" and course_code ="C001";&lt;BR /&gt;MPRINT(CHOICE): keep student_name course_code begin_date totalfee paid ;&lt;BR /&gt;MPRINT(CHOICE): if location= "Boston" then totalfee=fee*1.06;&lt;BR /&gt;MPRINT(CHOICE): else if location = "Seattle" then totalfee=fee*1.025;&lt;BR /&gt;MPRINT(CHOICE): else if location = "Dallas" then totalfee =fee*1.05;&lt;BR /&gt;MPRINT(CHOICE): run;&lt;/P&gt;&lt;P&gt;NOTE: There were 3 observations read from the data set CERTADV.SCHEDULE.&lt;BR /&gt;WHERE Course_Code='C001';&lt;BR /&gt;NOTE: There were 207 observations read from the data set CERTADV.STUDENTS.&lt;BR /&gt;NOTE: There were 327 observations read from the data set CERTADV.REGISTER.&lt;BR /&gt;WHERE Paid='Y';&lt;BR /&gt;NOTE: There were 1 observations read from the data set CERTADV.COURSES.&lt;BR /&gt;WHERE Course_Code='C001';&lt;BR /&gt;NOTE: There were 55 observations read from the data set CERTADV.ALL.&lt;BR /&gt;WHERE (paid='Y') and (course_code='C001');&lt;BR /&gt;NOTE: The data set WORK.FEES has 55 observations and 5 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.06 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SYMBOLGEN: Macro variable SYSLAST resolves to WORK.FEES&lt;BR /&gt;MPRINT(CHOICE): proc print data=WORK.FEES (obs=5);&lt;BR /&gt;MPRINT(CHOICE): title "Status";&lt;BR /&gt;MPRINT(CHOICE): run;&lt;BR /&gt;NOTE: There were 5 observations read from the data set WORK.FEES.&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 secondsMPRINT(CHOICE): title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2025 01:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979358#M378781</guid>
      <dc:creator>Gopisankarmg</dc:creator>
      <dc:date>2025-11-22T01:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why macros mess with printing sometimes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979365#M378784</link>
      <description>If you are using a SAS server, maybe your quota is very small ,the space of output is full and suppress the print .&lt;BR /&gt;Talk to your SAS Administrator, let him  &lt;BR /&gt;enhance/enlarge your quota.</description>
      <pubDate>Sat, 22 Nov 2025 06:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979365#M378784</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-11-22T06:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why macros mess with printing sometimes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979368#M378785</link>
      <description>&lt;P&gt;Look for ODS statements rerouting your output to somewhere else (a pdf or xlsx file, for instance). This might have happened in previous steps/submits.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2025 11:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-macros-mess-with-printing-sometimes/m-p/979368#M378785</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-11-22T11:23:57Z</dc:date>
    </item>
  </channel>
</rss>

