<?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: Problem having required pdf output. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133987#M260866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you generating the ouput? Proc Print, Report, Tabulate or something else? Different methods have different options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 14:55:41 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-05-13T14:55:41Z</dc:date>
    <item>
      <title>Problem having required pdf output.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133986#M260865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Hi there,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I am creating a pdf output file using PROC REPORT. in my code I am having two columns as ID which is going to be repeated on all the pages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;in my output, I am having 8 columns which can not fit into one horizontal page layout. So what I am doing is, I am keeping &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;4 columns on first page and rest 4 on second page using 'page' statement. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;My problem is, I am having around 500 observations sometimes. So in PDF what happenes is, in first few pages all first 4 columns are &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;finished first and then pages for rest of the column starts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;For example, I have 500 obs and 8 columns. Then first 10 pages shows first 4 columns for all the obs and then rest 5-8 columns are printed &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;in next 10 pages.&amp;nbsp; But my requirement is to print first page page with 1-4 columns followed by page showing 5-8 columns. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I hope I have simplified enough the problem to understand better. Quick help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: bonzy buddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 14:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133986#M260865</guid>
      <dc:creator>bonzybuddy</dc:creator>
      <dc:date>2013-05-13T14:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem having required pdf output.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133987#M260866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you generating the ouput? Proc Print, Report, Tabulate or something else? Different methods have different options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 14:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133987#M260866</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-05-13T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem having required pdf output.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133988#M260867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 14:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133988#M260867</guid>
      <dc:creator>bonzybuddy</dc:creator>
      <dc:date>2013-05-13T14:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem having required pdf output.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133989#M260868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO one!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 16:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133989#M260868</guid>
      <dc:creator>bonzybuddy</dc:creator>
      <dc:date>2013-05-13T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem having required pdf output.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133990#M260869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know of a good way.&amp;nbsp; You could try breaking the data into groups and using the group variable as a BY variable.&amp;nbsp; But predicting where would be a good place to split that would yield nice looking tables could be hard.&amp;nbsp; Here is an example using SASHELP.CARS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods pdf ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods listing close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;options nobyline ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data cars;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; page=int( (_n_-1) / 25) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; set sashelp.cars (obs=50);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc report data=cars nofs missing;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; by page;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; define page / noprint ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;define model / id ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; define mpg_city / page ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;options byline;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods listing ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods pdf close;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 17:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-having-required-pdf-output/m-p/133990#M260869</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-05-13T17:06:22Z</dc:date>
    </item>
  </channel>
</rss>

