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

What are the different operating system platforms in which we can use sas? : sas-grid-administration

585


What is the difference between order and group variable in proc report?

829


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

1957


How would you define the end of a macro?

694


What is the differnce between SDTM 3.1.2 to 3.1.1 version

4599






What is the difference between %put and symbolgen? : sas-macro

664


Explain the use of proc print and proc contents?

552


what is the use of proc sql? : Sas programming

586


Of all your work, where have you been the most successful?

4193


What is the good sas programming practices for processing large data sets?

621


what are 5 ways to perform a table lookup in sas? : Sas-administrator

753


Which statement does not perform automatic conversions in comparisons?

1196


Explain the purpose of retain statement.

590


What is a put statement?

660


Are you involved in writing the inferential analysis plan? Tables specifications?

3474