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

Answer Posted / hsong001

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.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to remove duplicates using proc sql?

632


If you could design your ideal job, what would it look like?

2378


What are the ways in which macro variables can be created in sas programming?

571


What are the differences between sum function and using “+” operator?

581


How does proc sql work?

618






how many types of prompts are there? : Sas-bi

556


Describe the ways in which you can create macro variables?

640


do you prefer proc report or proc tabulate? Why? : Sas programming

578


Give some ways by which you can define the variables to produce the summary report (using proc report)?

602


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

587


What is the use of PROC gplot?

642


How would you identify a macro variable?

653


How can you limit the variables written to output dataset in data step?

757


what is transformation in sas data integration? : Sas-di

560


What is SAS?

623