The SAS Output Delivery System and reporting techniques

Can any one explain this line of code %if &KEEP^= AND DROP^=

Reply
N/A
Posts: 0

Can any one explain this line of code %if &KEEP^= AND DROP^=

Can any one explain this line of code
%IF &KEEP^= AND DROP^=
Thanks in advance.

Regards,
Rupa.
Frequent Contributor
Posts: 91

Re: Can any one explain this line of code %if &KEEP^= AND DROP^=

Assuming that this code is in a macro and that DROP^= is actually &DROP^=

The line is checking to set if the macro variables (or macro symbols) KEEP and DROP are not equal to blank. If they are both nonblank, the code after %then gets executed/processed. Otherwise, it doesn't.
Ask a Question
Discussion stats
  • 1 reply
  • 106 views
  • 0 likes
  • 2 in conversation