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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2336 views
  • 1 like
  • 3 in conversation