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
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.