I Have parsed the field "Street" and as a result I got threea additional fields: "Street Name, House Number, Extension".
However, I already had the fields "Street_NAME" and "HOUSE_NUM".
What I would like to do is to make a third column which will be populated in in a way that first the values from the "Street_NAME" column are taken, and if that value does not exist, the value from the parsed columnd "treet Name" is taken. Same principle should be applied to House Number as well.
How, and with which nodes can I make this?
you could try using the coalecsec function.
new1=coalescec(Street_NAME, Street Name);
new2=coalescec(HOUSE_NUM, House Number);
which node I need to use and how (I am new to SAS Data Mgmt Studio)
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.