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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.