If you look at just about all recent macros, they have far more checking than that. And that's good.
Checking simply for "&X" does not work for ESPIE because it has acceptable positional parameters which vary according to the rest of the specification. And in fact the OP's example would not have been identified as an "extra" positional parameter but rather would have had to be identified as an incorrect positional parameter. I did not say that it was hard to check. But there is a cost. Peter Relson z/OS Core Technology Design
