Reputation: 133
I was wondering how I can concatenate a two column values in SAS.
For Example Column A has a value 2006 and Column B has a value of 2007.
How do I get Column C to be 2006/2007 ? I am unable to get concatenate using the forward slash.
Thanks in advance.
Upvotes: 0
Views: 318
Reputation: 4937
Use the CATX Function
data _null_;
c = catx('/', '2006', '2007');
put c=;
run;
Upvotes: 1