11-01-2016 02:08 PM
I am using University Edition, and tried to limit observations in line 78.
I just want to have the output which only contains the "self" in variable V103.
and also want to drop rows, do I have to write down each row name, or is there any convenience way.
here is my log file.
11-01-2016 02:26 PM
Without quotes, SAS assumes that self is the name of a variable. Character literals must be enclosed in single or double quotes.
11-01-2016 04:05 PM
i was tried to add the quotes, but there is another error that is:
ERROR: Variable V103 has been defined as both character and numeric.
Look at your data. If V103 is numeric, it makes no sense comparing it to the string "self".
Use proc contents on the input dataset(s).
11-01-2016 02:36 PM
Try using the put() function to transform V103 into a string variable. I find a solution to that error in the following URL: