<?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: Proc print of multiple datasets using stored process generating two blank lines b/n results in e in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525435#M5851</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Check the SAS log and post what you see.&amp;nbsp; SAS Enterprise Guide or the SAS Add-in for Microsoft Office might be issuing the statements on your behalf.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 15:16:14 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2019-01-08T15:16:14Z</dc:date>
    <item>
      <title>Proc print of multiple datasets using stored process generating two blank lines b/n results in excel</title>
      <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525066#M5848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have stored process which prints&amp;nbsp; (by using proc print)multiple datasets in excel. I see there are two blank lines between the results.&lt;/P&gt;&lt;P&gt;Is that two blank lines between&amp;nbsp; results is default behavior?&lt;/P&gt;&lt;P&gt;Do we have any option to get only one blank line between results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the sample code. I've called in excel through a stored process. The result is having two blank lines between outputs.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=sashelp.class &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=sashelp.cars &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=sashelp.class &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 15:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525066#M5848</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2019-01-07T15:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print of multiple datasets using stored process generating two blank lines b/n results in e</title>
      <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525389#M5849</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Which ODS destination are you using?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods Excel file= ... ;
  proc print ... ;
ods Excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.ExcelXP file= ... ;
  proc print ... ;
ods tagsets.ExcelXP close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525389#M5849</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-01-08T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print of multiple datasets using stored process generating two blank lines b/n results in e</title>
      <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525416#M5850</link>
      <description>&lt;P&gt;I am not using anything. Just the above code.&lt;/P&gt;&lt;P&gt;I saved the code in a stored process and called the stored process by opening excel sheet.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525416#M5850</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2019-01-08T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print of multiple datasets using stored process generating two blank lines b/n results in e</title>
      <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525435#M5851</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Check the SAS log and post what you see.&amp;nbsp; SAS Enterprise Guide or the SAS Add-in for Microsoft Office might be issuing the statements on your behalf.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 15:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525435#M5851</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-01-08T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print of multiple datasets using stored process generating two blank lines b/n results in e</title>
      <link>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525700#M5852</link>
      <description>&lt;P&gt;I got answer from SAS Technical support. Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Arial" size="3"&gt;Yes, two blank lines between between the results generated by a stored process is expected.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Arial" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Arial" size="3"&gt;Break each PROC PRINT in your stored process into separate stored processes so you can place the results in the desired location separately. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Arial" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Arial" size="3"&gt;Or if you have SAS Add-in for Microsoft Office 8.0, you can insert individual pieces of stored process results into a workbook in the desired location. Here are a few SAS Add-in for Microsoft Office 8.0 video tutorials just in case you are interested in how to insert individual pieces of reports into a workbook: &lt;/FONT&gt;&lt;A href="https://video.sas.com/category/videos/version-8" target="_blank"&gt;&lt;FONT color="#0000ff" face="Arial" size="3"&gt;https://video.sas.com/category/videos/version-8&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-print-of-multiple-datasets-using-stored-process-generating/m-p/525700#M5852</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2019-01-09T13:06:13Z</dc:date>
    </item>
  </channel>
</rss>

