BookmarkSubscribeRSS Feed
radha009
Quartz | Level 8

Here is the code i have this issue on lot of my programs. How do i resolve this i added ls =256.

 

ods excel options(sheet_name='test' absolute_column_width="20,8");
options nodate pageno=1 ps=60 ls=256;
proc report data=cloud.fruits;
run;
ods excel close;
ods listing close;

 

ERROR: The width of cloumn name is not between 1 and 256. Adjust the column width or line size.
NOTE: This affects LISTING output.

2 REPLIES 2
ballardw
Super User

Which output do you actually want, Listing or ODS Excel?

That message is most likely related to the Listing destination. If you want ODS Excel then close the listing before opening the ODS Excel destination.

DrAbhijeetSafai
Lapis Lazuli | Level 10

Many thanks @ballardw ! This was very useful.

 

Thanking you,

Yours sincerely,

 

- Dr. Abhijeet Safai

Dr. Abhijeet Safai
Certified Base and Clinical SAS Programmer
Associate Data Analyst
Actu-Real

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2464 views
  • 1 like
  • 3 in conversation