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:
- Include the LIST option in the PROC REPORT statement.
- Resubmit the code.
- Look in the SAS log for the basic PROC REPORT statements.
- Check each DEFINE statement for a WIDTH= value that is wider than the LINESIZE= value specified in the PROC REPORT statement.
- Reduce the WIDTH= to a value smaller than the LINESIZE.