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;
Looking at your graph, you need the text below your graph. Why don't you try using "FOOTNOTE".
Looking at your graph, you need the text below your graph. Why don't you try using "FOOTNOTE".
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.
Labels are limited to 256 characters.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.