data gggggggggggggggggggggggggg_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ;
set sashelp.class ;
run;
if i run above program i am getting error so how keep 32 characters length.
kindly help me.
Because that is a hard limit in SAS. Read the documentation.
Put the intended long names into labels and keep the actual names <=32 characters long.
data test(label='This dataset label could be up to 256 characters long!');
a=1;
label a='This variable label could be up to 256 characters long!';
run;
proc contents data=test;
run;
think about it before you make the file names, make that mean something rather than tell a story.
In the years past you only got a length of 8.
what are you going to do when 256 length is not enough
Sloppy kids.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.