When you use an %IF-%THEN statement in your macro program
you must place %DO and %END statements around code that describes the conditional action, if that code contains multiple statements.
the %ELSE statement is optional.
you cannot refer to DATA step variables in the logical expression of the %IF statement.
all of the above.