<?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 error: adjust column width or line size in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40016#M5515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without asking why; you want a repeated character up to 100 times in the first column, but is that what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the error is a listing destination error and you are not using the listing destination, turn it off ( ods listing close;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My memory says that in the listing destination a given column cannot be wider than the width of the paper (LINESIZE= system option).&amp;nbsp; So increasing the LINESIZE might change the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the COMPUTE BAR block you multiply per_osha11 by 50, any value of per_osha11&amp;gt;2 (it can be up to 24) would give a total gt 100.&amp;nbsp; any value of barsize&amp;gt;99 will give a bar with ge 100 characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2011 05:50:01 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2011-08-02T05:50:01Z</dc:date>
    <item>
      <title>proc report error: adjust column width or line size</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40015#M5514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently receiving the following error for my "bar" variable.&lt;/P&gt;&lt;P&gt;The max value of per_osha11 is 24.&lt;BR /&gt;How do I fix this error?&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The width of bar is not between 1 and 98. Adjust the column width or line size.&lt;BR /&gt;NOTE: This affects LISTING output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=task_tot3 nowd contents="Claims" out=test&lt;BR /&gt;style(header)=[font_weight=bold background=CX90D9D7]&lt;BR /&gt;style(report)=[frame=void rules=none cellpadding=1 cellspacing=0];&lt;BR /&gt;options missing='0';&lt;BR /&gt;column bar task1 tot_osha11 per_osha11;&lt;BR /&gt;define task1 / 'Task';&lt;BR /&gt;define bar / '' style(column)=[cellwidth=75mm font_size=4pt font_face=webdings vjust=middle just=left cellpadding=0];&lt;BR /&gt;define tot_osha11 / analysis "Total 2011" style(column)={background=CXE599A7}; &lt;BR /&gt;define per_osha11 / analysis "% of 2010 Total" style(column)={borderrightcolor=black borderrightwidth=1pt};&lt;BR /&gt;rbreak after / summarize;&lt;BR /&gt;compute bar / char length=100;&lt;BR /&gt;&amp;nbsp; barsize=round(per_osha11.sum*50);&lt;BR /&gt;&amp;nbsp; if barsize gt 0 then&lt;BR /&gt;&amp;nbsp; bar=repeat('67'x,barsize);&lt;BR /&gt;endcomp;&lt;BR /&gt;compute per_osha11;&lt;BR /&gt;&amp;nbsp; if _break_="_RBREAK_" then per_osha11.sum=100;&lt;BR /&gt;endcomp;&lt;BR /&gt;compute tot_osha11;&lt;BR /&gt;&amp;nbsp; if _break_="_RBREAK_" then call define(_row_,"style","style=[background=CXE599A7]");&lt;BR /&gt;&amp;nbsp; if _break_="_RBREAK_" then task1="Total 2010 - 2011";&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 23:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40015#M5514</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2011-08-01T23:14:41Z</dc:date>
    </item>
    <item>
      <title>proc report error: adjust column width or line size</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40016#M5515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without asking why; you want a repeated character up to 100 times in the first column, but is that what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the error is a listing destination error and you are not using the listing destination, turn it off ( ods listing close;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My memory says that in the listing destination a given column cannot be wider than the width of the paper (LINESIZE= system option).&amp;nbsp; So increasing the LINESIZE might change the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the COMPUTE BAR block you multiply per_osha11 by 50, any value of per_osha11&amp;gt;2 (it can be up to 24) would give a total gt 100.&amp;nbsp; any value of barsize&amp;gt;99 will give a bar with ge 100 characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 05:50:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40016#M5515</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2011-08-02T05:50:01Z</dc:date>
    </item>
    <item>
      <title>proc report error: adjust column width or line size</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40017#M5516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Art's memory is correct. That message usually appears because the LISTING destination is still open and the calculated size of a column when added to the calculated size of the other columns will exceed the current LINESIZE setting. The fix is to use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ODS LISTING CLOSE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before the ODS step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 13:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-error-adjust-column-width-or-line-size/m-p/40017#M5516</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-08-02T13:41:29Z</dc:date>
    </item>
  </channel>
</rss>

