I have rather broad file with 1500 variables and my interest fits into several groups and I have these in external files (Z/OS) and use them as the VAR option in Proc Compare. Elsewhere I'd like to use these as part of a Data step with either:
1. Keep %include External(Varlist);
2. Set stuff(Keep= %include External(Varlist);
I imagined these would work but both fail with the '%' being unexpected.
Any ideas how I can include the list of variables?