Hi;
I have imported a SPSS dataset into SAS. It is a big dataset, but initially I want to work on only one district,but I am unable to create a small dataset having only district level data because of format problem. The variable having names of districts is numeric in the original dataset but when I want to use IF statement, the log says Character values have been converted to numeric values.
DATA DISTRICT; SET MYDATA.MICSDAT; IF HH7='BAHAWALPUR'; RUN;
I have also tried Proc Datasets to eliminate format and also tried to convert this variable HH7 to a charachter variable but thngs are not working.
any suggestion, where i am going wrong?
Thanks
Haroon
... View more