weird thing: in a macro I had included several scripts using %include. in these scripts I had codes like %if - %then %do - %end. I got error message like:
ERROR: The %IF statement is not valid in open code.
I dont understand how this happened. all these %if stuff are still within the macro, right? Help appreciated!!!
that %include is passed through by the macro language compiler. The code is not opened and interpreted by that compiler, so %if is not valid once the syntax is out of the scope of the macro language compiler.