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
How to specify variables to be processed by the freq procedure?
What are symget and symput? : sas-macro
what is the purpose of _error_? : Sas programming
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
In sas, what are the areas that you are most interested in? : sas-grid-administration
Explain the use of proc print and proc contents?
what is the basic structure sas administrator? : Sas-administrator
what is sas database server? : Sas-di
Describe the ways in which you can create macro variables?
What can you learn from the SAS log when debugging?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Mention the difference between ceil and floor functions in sas?
Have you used macros? For what purpose you have used? : sas-macro
How would you include common or reuse to be processed along with your statements?
Differentiate between ceil and floor functions.