If there is a list of values (copied from excel or dataset or text file) that need to be used in where condition, strings need to be in quotes separated by comma. How about giving power to Find & Replace in SAS EG (Ctrl+H) like Notepad++ does.
For example I have:
I want them : "Acura","Audi","BMW","Buick","Cadillac","Chevrolet","Chrysler","Dodge","Ford"
Open notepade++ and paste the values.
Remove leading and trailing blanks: Go to edit->Blank Operations->Trim leading and trailing space.
Put quotes: Open Search>Replace… in Notepad++ (Ctrl+H)
Select Regular Expression and in find what add (.+) and in replace what add “\1” and click replace. This will add quotes to the words listed in the file when replaced.
Separate by comma: Now in Find what add \r\n and in Replace with add just comma (,) as shown in screenshot.