05-15-2012 10:03 AM
Here is the problematic code :
It says :
ERROR 68-185 The function WHERE is unknown, or cannot be accessed.
Now, the file does exist, has a column called Problem (and it works when I manually filter by entering "where Problem=...." in the top left box).
I use SAS 9.1
Thanks in advance if anyone can help !
05-15-2012 10:29 AM
Specify the WHERE clause as dataset option when you open the dataset. Also you should use NLOBS instead of NOBS to avoid counting deleted observations.
05-16-2012 07:18 AM
Thanks for your replies.
I think your code misses a bracket, but it still doesn't work :
"Argument 1 to function ATTRN at line ... column ... is invalid."
Need further help from the community? Please ask a new question.