Hi, Thanks for your effort on this, I really appreciate it. You are right in the intent as I outlined in the original post. However, again the issue is not with the replacement of words within the string, but how do I reference a list of words from a column in a data set. In other words, you have defined the list of words with: data list;
length wrd $200;
wrd="string";output;
wrd="removed";output;
run; But I cannot type out 412,000 variations of wrd="string";output; to create the list to loop through - so the question as before remains, how do I define "list" in the above as the column "Name" from LIB.NAMELIST?
... View more