that error is not because of comma or space delimiter.
its becas of using sas function inside the IN operator.
We should have to use numeric or character constants as arguments for IN operator (not sas functions....)
It doesn't matter whether u r using comma or space as delimiter. both r acceptable.