PROC REPORT issues an error when a column width is wider than the LINESIZE= value


The following error message is issued with PROC REPORT when a column width is wider than the specified LINESIZE= option:

ERROR: The width of <variable name> is not between 1 and 256.  
       Adjust the column width or linesize.

This error is generated because the Listing destination (Output window) is open. If you are routing the output to a non-Listing ODS destination and the Listing output is not desired, add the following statement to the code before the PROC REPORT step:
 
ods listing close;
 
If the Listing destination is desired, do the following:
  1. Include the LIST option in the PROC REPORT statement.
  2. Resubmit the code.
  3. Look in the SAS log for the basic PROC REPORT statements.
  4. Check each DEFINE statement for a WIDTH= value that is wider than the LINESIZE= value specified in the PROC REPORT statement.
  5. Reduce the WIDTH= to a value smaller than the LINESIZE.