<?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 how to have two data tables side by side using ODS PDF? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19670#M4026</link>
    <description>I have two small data tables that I want to put side by side as one page within a pdf file and I can't find any code on how to do that?  &lt;BR /&gt;
&lt;BR /&gt;
This is the code i'm currently using&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods printer pdf file= 'c:\test.pdf';&lt;BR /&gt;
&lt;BR /&gt;
title 'test 1';&lt;BR /&gt;
proc print data=test1 noobs width=minimum label;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
title 'test 2';&lt;BR /&gt;
proc print data=test2 noobs width=minimum label;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
ods printer close;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
This puts them on seperate pages not side by side on the same page.&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You</description>
    <pubDate>Tue, 11 May 2010 16:14:47 GMT</pubDate>
    <dc:creator>jerry898969</dc:creator>
    <dc:date>2010-05-11T16:14:47Z</dc:date>
    <item>
      <title>how to have two data tables side by side using ODS PDF?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19670#M4026</link>
      <description>I have two small data tables that I want to put side by side as one page within a pdf file and I can't find any code on how to do that?  &lt;BR /&gt;
&lt;BR /&gt;
This is the code i'm currently using&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods printer pdf file= 'c:\test.pdf';&lt;BR /&gt;
&lt;BR /&gt;
title 'test 1';&lt;BR /&gt;
proc print data=test1 noobs width=minimum label;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
title 'test 2';&lt;BR /&gt;
proc print data=test2 noobs width=minimum label;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
ods printer close;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
This puts them on seperate pages not side by side on the same page.&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You</description>
      <pubDate>Tue, 11 May 2010 16:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19670#M4026</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2010-05-11T16:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to have two data tables side by side using ODS PDF?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19671#M4027</link>
      <description>Hi:&lt;BR /&gt;
  What version of SAS are you using??? SAS 8.2?? SAS 9.1?? SAS 9.2??? The COLUMNS= option for ODS PDF should give you what you want. I'm not sure it was available in SAS 8.2  (I wonder about your version because ODS PRINTER PDF is an older way of invoking ODS PDF).&lt;BR /&gt;
   &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nodate nonumber;&lt;BR /&gt;
ods  pdf file= 'c:\temp\testCOL.pdf' columns=2;&lt;BR /&gt;
              &lt;BR /&gt;
title 'test 1';&lt;BR /&gt;
proc print data=sashelp.class noobs  label;&lt;BR /&gt;
  where age ge 15;&lt;BR /&gt;
  var name sex age;&lt;BR /&gt;
run ;&lt;BR /&gt;
         &lt;BR /&gt;
title 'test 2';&lt;BR /&gt;
proc print data=sashelp.class(obs=6) noobs label;&lt;BR /&gt;
  var name age height;&lt;BR /&gt;
run ;&lt;BR /&gt;
          &lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 11 May 2010 18:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19671#M4027</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-11T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to have two data tables side by side using ODS PDF?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19672#M4028</link>
      <description>Cynthia,&lt;BR /&gt;
Thank you so much for your response.  That helped a lot.&lt;BR /&gt;
&lt;BR /&gt;
I'm using SAS 9.2.  &lt;BR /&gt;
&lt;BR /&gt;
Thank You</description>
      <pubDate>Tue, 11 May 2010 19:31:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-have-two-data-tables-side-by-side-using-ODS-PDF/m-p/19672#M4028</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2010-05-11T19:31:52Z</dc:date>
    </item>
  </channel>
</rss>

