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

Answer Posted / henry

proc print data=sashelp.class;
var height weight;
where upcase(substr(name,1,1))='A';
run;

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why double trailing @@ is used in input statement?

788


What is the basic structure of a sas program?

803


what versions of sas have you used (on which platforms)? : Sas programming

797


Describe the ways in which you can create macro variables?

832


Enlist the syntax rules followed in sas statements.

836


What is the general format of function in sas? : sas-grid-administration

759


What are the different types of sas functions?

850


Explain what is data step?

926


What is by-group processing?

749


how do you want missing values handled? : Sas programming

714


What is connection profile? : sas-grid-administration

885


What are pdv and it functions?

765


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

903


what type of graphs we will create(for 2+years candidates)?

2082


What is the difference between reading data from an external file and reading data from an existing data set?

893