Such an automatic variable might be useful, but it needs further refinement. What happens when there's more than one input data set in a data step? What happens when there's a double-DOW loop that reads the same input data set twice? What happens when POINT= or INDEX= is used?
The ability to use %IF in open code would be really, really helpful. I think I saw an example, once of a case where allowing it would cause something bad to happen, but it was sufficiently obscure that I can't remember what it was.
... View more