From Sample 35591,
The IN operator can be used in the %IF statement only when the MINOPERATOR option is set in the %MACRO statement or as a SAS® system option.
Requiring a separate option for macro processing seems like an unnecessary complication. Of course, the macro IN syntax and what it can process must be different from the DATA step IN because of the nature of macro processing. But the implementation forces the programmer to keep track of two different IN's, despite them being logically identical.
- Are they not logically identical?
- Is requiring a separate option for the macro IN meant to remind programmers of the differences from the DATA step IN?
- Or, is there a situation or backwards compatibility concern which requires the macro IN to be implemented this way?
Documentation for MINOPERATOR.