Is there a way to create a new variable where the results are the integrated results from other variables?
For example:
Where... variableA=41000
Where... variableB=1
NEWvariable = “variableA”_”variableB..... = 41000_1
You can use string concatenation operators such as cats, catx, or string1||'_'||string2 etc.
https://communities.sas.com/t5/SAS-Communities-Library/How-to-concatenate-values-in-SAS/ta-p/494125
You can use string concatenation operators such as cats, catx, or string1||'_'||string2 etc.
https://communities.sas.com/t5/SAS-Communities-Library/How-to-concatenate-values-in-SAS/ta-p/494125
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.