<?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: using multiple data sets to create outputs from proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286465#M58750</link>
    <description>&lt;P&gt;Can you post the log after turning on MPRINT and SYMBOLGEN.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options MPRINT SYMBOLGEN;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 19:28:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-07-22T19:28:33Z</dc:date>
    <item>
      <title>using multiple data sets to create outputs from proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286463#M58749</link>
      <description>&lt;P&gt;Im trying to run couple reports that reading from different datasets. For some reason, it keeps giving me this "&lt;FONT color="#33CCCC"&gt;WARNING: Apparent symbolic reference DATASETS_JUL_2016 not resolved.&lt;/FONT&gt;", and the macro is not working. Can someone please tell me what is wrong with my code below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;%macro report(datasets);&lt;/STRONG&gt;&lt;BR /&gt;ODS Tagsets.ExcelXP FILE= "J:\mydrive\&lt;STRONG&gt;&amp;amp;datasets&lt;/STRONG&gt;_JUL_2016.xls" &amp;nbsp;style=fancyprinter;&lt;/P&gt;
&lt;P&gt;proc report data=&lt;STRONG&gt;&amp;amp;datasets&lt;/STRONG&gt; nofs split='*';&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;column School ID Class student;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; define School / display&amp;nbsp;style={just=left foreground=black cellwidth=70};&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; define ID&lt;SPAN&gt; / display&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;style={just=left foreground=black cellwidth=70};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; define&amp;nbsp;&lt;SPAN&gt;Class /&amp;nbsp;display&amp;nbsp;&lt;SPAN&gt;style={just=left foreground=black cellwidth=70};&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; define Student /&amp;nbsp;display&amp;nbsp;&lt;SPAN&gt;style={just=left foreground=black cellwidth=70};&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ODS Tagsets.ExcelXP close;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;%mend report;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;%report(abc);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;%report(efg);&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286463#M58749</guid>
      <dc:creator>ernie86</dc:creator>
      <dc:date>2016-07-22T19:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: using multiple data sets to create outputs from proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286465#M58750</link>
      <description>&lt;P&gt;Can you post the log after turning on MPRINT and SYMBOLGEN.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options MPRINT SYMBOLGEN;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286465#M58750</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-22T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: using multiple data sets to create outputs from proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286467#M58751</link>
      <description>&lt;P&gt;This line&lt;/P&gt;
&lt;P&gt;ODS Tagsets.ExcelXP FILE= "J:\mydrive\&lt;STRONG&gt;&amp;amp;datasets&lt;/STRONG&gt;_JUL_2016.xls" &amp;nbsp;style=fancyprinter&lt;/P&gt;
&lt;P&gt;contains&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;amp;datasets&lt;/STRONG&gt;_JUL_2016&lt;/P&gt;
&lt;P&gt;which is being treated as a single macro variable. It should be&lt;BR /&gt;&lt;STRONG&gt;&amp;amp;datasets.&lt;/STRONG&gt;_JUL_2016&lt;/P&gt;
&lt;P&gt;to indicate the the literal text _JUL_2016 is appended to the value of &amp;amp;datasets. Note the added period.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-multiple-data-sets-to-create-outputs-from-proc-report/m-p/286467#M58751</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-22T19:34:38Z</dc:date>
    </item>
  </channel>
</rss>

