In reply to Ross Bettinger.

This relies on the name range list, which figures out the ranges by their sequence in the data set (order in which variables were defined, as reported by PROC CONTENTS). It isn't influenced by "collate" order of the variable names. So, while something like this might be convenient, it isn't really the design of the name range feature.