<?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 Proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43508#M8913</link>
    <description>I used the following code in proc report:&lt;BR /&gt;
define zip/group '5 digit zip'&lt;BR /&gt;
	STYLE (header) = {just=left  font_size=1}&lt;BR /&gt;
	STYLE (COLUMN) = {htmlstyle="mso-number-format:\@" just=left  font_size=1.5};&lt;BR /&gt;
&lt;BR /&gt;
And it generates this error:&lt;BR /&gt;
ERROR: The width of ZIP is not between 1 and 96. Adjust the column width or linesize.</description>
    <pubDate>Thu, 11 Jun 2009 15:54:50 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2009-06-11T15:54:50Z</dc:date>
    <item>
      <title>Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43508#M8913</link>
      <description>I used the following code in proc report:&lt;BR /&gt;
define zip/group '5 digit zip'&lt;BR /&gt;
	STYLE (header) = {just=left  font_size=1}&lt;BR /&gt;
	STYLE (COLUMN) = {htmlstyle="mso-number-format:\@" just=left  font_size=1.5};&lt;BR /&gt;
&lt;BR /&gt;
And it generates this error:&lt;BR /&gt;
ERROR: The width of ZIP is not between 1 and 96. Adjust the column width or linesize.</description>
      <pubDate>Thu, 11 Jun 2009 15:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43508#M8913</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-06-11T15:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43509#M8914</link>
      <description>And what error do you get when you code a WIDTH= parameter?  Also, you may want to share the entire PROC REPORT invocation code, as it appears in the SAS log window/output for more accurate review and response.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
PROC REPORT DOC - DEFINE Statement, WIDTH= parameter:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473627.htm#a003072093" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473627.htm#a003072093&lt;/A&gt;</description>
      <pubDate>Thu, 11 Jun 2009 17:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43509#M8914</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-06-11T17:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43510#M8915</link>
      <description>Hi:&lt;BR /&gt;
  The WIDTH= option in PROC REPORT is ignored by ODS destinations, such as ODS HTML, ODS CSV and ODS TAGSETS.EXCELXP. Depending on what else you're doing, this error message sometimes results because the LISTING destination is still open and has determined that the width of your PROC REPORT report rows are greater than the current LISTING destination LINESIZE option.&lt;BR /&gt;
 &lt;BR /&gt;
  So, as explained in this Tech Support note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/18/518.html" target="_blank"&gt;http://support.sas.com/kb/18/518.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  ...your solution is usually to close the LISTING destination. Of course, you might also want LISTING -and- HTML output, in which case, you could:&lt;BR /&gt;
1) increase the LINESIZE on the options statement&lt;BR /&gt;
2) increase the LINESIZE on the PROC REPORT statement&lt;BR /&gt;
3) double check WIDTH= on your DEFINE statements&lt;BR /&gt;
but remember that these 3 "tweaks" will work for LISTING only and are irrelevant to HTML files created with ODS.&lt;BR /&gt;
&lt;BR /&gt;
  Since, from your HTMLSTYLE override, I see that you are using the mso-number-format, it seems to me that you must be creating an HTML file to open with Excel. In this case, simply closing the LISTING destination should get rid of the error message.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 11 Jun 2009 19:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report/m-p/43510#M8915</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-06-11T19:58:17Z</dc:date>
    </item>
  </channel>
</rss>

