<?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 no output if zero obs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401847#M278781</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am new to sas.Below macro is creating a permanent dataset in my code.Is there any way to not output this dataset if have 0 obs.&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; &amp;nbsp;Dont have access to macro code so cant change macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%xyz(pq&amp;amp;domain);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 16:52:36 GMT</pubDate>
    <dc:creator>bondp</dc:creator>
    <dc:date>2017-10-06T16:52:36Z</dc:date>
    <item>
      <title>no output if zero obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401847#M278781</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am new to sas.Below macro is creating a permanent dataset in my code.Is there any way to not output this dataset if have 0 obs.&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; &amp;nbsp;Dont have access to macro code so cant change macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%xyz(pq&amp;amp;domain);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 16:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401847#M278781</guid>
      <dc:creator>bondp</dc:creator>
      <dc:date>2017-10-06T16:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: no output if zero obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401848#M278782</link>
      <description>&lt;P&gt;Since we don't have access to the macro code, the answer to your question is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NO&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 17:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401848#M278782</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-06T17:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: no output if zero obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401861#M278783</link>
      <description>&lt;P&gt;If you don't want a 0 obs data set then write a program to delete it, perhaps a macro if you can build the output data set library and name from the information you provide to that existing macro. Then run it after the offending macro. Make sure that you actually test for 0 obs in the macro so it performs the task conditionally:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 18:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/no-output-if-zero-obs/m-p/401861#M278783</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-10-06T18:01:42Z</dc:date>
    </item>
  </channel>
</rss>

