03-16-2014 10:32 AM
Hi SAS team!
My code was like this:
%if &s1>0 and &lk>0 %then %do;
%put &s1 &lk;
%put "one of the dataset can not be opened";
i expected that the note of "one of the dataset can not be opened" were written to the LOG, but the result was "1 2". Would anyone could explain how it happened and demonstrate the usage of OPEN function or other functions if the former note would be written.
Appreciate any help!
Need further help from the community? Please ask a new question.