BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
pastorda
Calcite | Level 5

I have created labels for my variables using the label statement in a data step. Some of my variable labels are longer than 256 characters are are cut off in the output and in graphs. How can I extend the length of the variable label?

 


data yikes; set pes.pes&version&sem&yr;
label &sem&yr.r113="The Iraqi government declared victory over the Islamic State in the battle for _________, which began in October 2016. Prime Minister Haider al-Abadi arrived in the city on July 9, 2017 to mark the formal end of a bloody campaign that killed thousands of people and displaced nearly a million more."
run;

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
SuryaKiran
Meteorite | Level 14

Looking at your graph, you need the text below your graph. Why don't you try using "FOOTNOTE".

Thanks,
Suryakiran

View solution in original post

3 REPLIES 3
SuryaKiran
Meteorite | Level 14

Looking at your graph, you need the text below your graph. Why don't you try using "FOOTNOTE".

Thanks,
Suryakiran
pastorda
Calcite | Level 5

Thanks Suryakiran! I decided to try it first by using item stem as the axis label and all is well now. I appreciate your help.

 

Reeza
Super User

Labels are limited to 256 characters.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3 replies
  • 3710 views
  • 2 likes
  • 3 in conversation