In PROC PRINT, can you print only variables that begin with the letter “A”?

Submitted by: Administrator
Use the idea of variable list (varlist) wildcard :

e.g.,
proc print data=xxx ;
var A: ;
run ;
This will list all variables start with letter A.
Submitted by: Administrator

proc print data=dsn;
where var contain "A"l
runl
Submitted by: Badrinath

no
Submitted by: Anonymous

Read Online SAS (Statistical Analysis System) Job Interview Questions And Answers