Hi, I'm concatenating 5 variables in only one string variable that has a lenght of 40-50 characters, but SAS displays only the 2 first variables. How could I do to see all the lenght?
This is my code:
data work.cf_vcv2;
set work.cf_vcv1;
cross=cats(tiporden,isin,tim,dat,precioneg);
run;
the output only show tiporden and isin concatenated.:smileyconfused:
Set the length of the variable before creation.
data work.cf_vcv2;
set work.cf_vcv1;
length cross $50.;
format cross $50.;
cross=cats(tiporden,isin,tim,dat,precioneg);
run;
Set the length of the variable before creation.
data work.cf_vcv2;
set work.cf_vcv1;
length cross $50.;
format cross $50.;
cross=cats(tiporden,isin,tim,dat,precioneg);
run;
Thank your very much!
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!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.