<?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: Base SAS, version 9.3 Proc tabulate error within ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483384#M21380</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Typically, pagesize and linesize exceeded messages are caused by having the LISTING destination open while you are generating long strings of text that work in HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I assume you're running the same version of SAS on both locations. Typically, you need to issue ODS LISTING CLOSE; at the TOP of your output. Your note seemed to indicate that you had ODS LISTING CLOSE -after- the PROC TABULATE, but you're using ODS HTML for output, so you don't need LISTING open. I would suggest these 2 things:&lt;/P&gt;
&lt;P&gt;1) increase pagesize -- just for grins, it shouldn't matter what pagesize is for ODS HTML, so if you do&lt;/P&gt;
&lt;P&gt;options pagesize=max;&lt;/P&gt;
&lt;P&gt;that will set the pagesize to the max --which is usually 32767.&lt;/P&gt;
&lt;P&gt;AND&lt;/P&gt;
&lt;P&gt;2) issue ODS LISTING CLOSE; in front of your ODS HTML statement -- before you run any of your TABULATE output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 13:44:58 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-08-02T13:44:58Z</dc:date>
    <item>
      <title>Base SAS, version 9.3 Proc tabulate error within ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483365#M21378</link>
      <description>&lt;P&gt;In our development environment we have code within ODS that works fine, but not in production.&lt;/P&gt;&lt;P&gt;Within the ODS there is a proc tabulate that gets this message-&lt;/P&gt;&lt;P&gt;ERROR: Page size exceeded by column titles at line 259.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;line 259&amp;nbsp; Period*bidgrp="Catergory"*visit=" "&lt;/P&gt;&lt;P&gt;line 260 n='Total:'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ODS code above above the Proc tablulate is along with a sort and options statement, right after this is the Proc Tabulate.&amp;nbsp; There is no other ods code except right after the Proc Tabulate.&amp;nbsp; It is ods listing close.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;html&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;path&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;path"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;body&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;fileout"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sort&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=foroutput;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; bidgrp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;option&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;missing&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So there is a difference in environments that no one here can identify or acknowledges.&amp;nbsp; So the next best bet is to find a work around that will work in both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 12:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483365#M21378</guid>
      <dc:creator>srhoades</dc:creator>
      <dc:date>2018-08-02T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Base SAS, version 9.3 Proc tabulate error within ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483383#M21379</link>
      <description>&lt;P&gt;Have you compared autoexec files between the two?&amp;nbsp; Autoexec gets loaded (plus others) first, which sets up some options.&amp;nbsp; It maybe that in one setup you have a smaller pagesize.&amp;nbsp; Thats what this error seems to imply.&amp;nbsp; Anyways a quick google shows:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/SAS-Error-Q/td-p/47149" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/SAS-Error-Q/td-p/47149&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which suggests turning listing destination off - something which I always tend to do nowadays as it only gives warnings most of the time:&lt;/P&gt;
&lt;P&gt;ods listing close;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483383#M21379</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-02T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Base SAS, version 9.3 Proc tabulate error within ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483384#M21380</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Typically, pagesize and linesize exceeded messages are caused by having the LISTING destination open while you are generating long strings of text that work in HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I assume you're running the same version of SAS on both locations. Typically, you need to issue ODS LISTING CLOSE; at the TOP of your output. Your note seemed to indicate that you had ODS LISTING CLOSE -after- the PROC TABULATE, but you're using ODS HTML for output, so you don't need LISTING open. I would suggest these 2 things:&lt;/P&gt;
&lt;P&gt;1) increase pagesize -- just for grins, it shouldn't matter what pagesize is for ODS HTML, so if you do&lt;/P&gt;
&lt;P&gt;options pagesize=max;&lt;/P&gt;
&lt;P&gt;that will set the pagesize to the max --which is usually 32767.&lt;/P&gt;
&lt;P&gt;AND&lt;/P&gt;
&lt;P&gt;2) issue ODS LISTING CLOSE; in front of your ODS HTML statement -- before you run any of your TABULATE output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Base-SAS-version-9-3-Proc-tabulate-error-within-ODS/m-p/483384#M21380</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-08-02T13:44:58Z</dc:date>
    </item>
  </channel>
</rss>

