Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / a

proc print data=;
where name like 'A%';
run;

Is This Answer Correct ?    3 Yes 3 No

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

Answer / ashish

proc print data=datset(obs=5) ;
var s:;
quit;

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

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

Answer / parbhat517

PROC PRINT DATA = X;
WHERE SUBSTR(NAME,1,1) = 'A';
RUN;

Is This Answer Correct ?    0 Yes 2 No

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

Answer / naveen

proc sql;
select *
from qqq
where name contains "A";
quit;

Is This Answer Correct ?    0 Yes 4 No

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

Answer / sunil chilaka

Dear fndz to print only variables that begin with
the letter "A" we can use

keep=option

Is This Answer Correct ?    2 Yes 7 No

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

Answer / naveen

proc print data=abc;
var name;
where name contains="A";
run;

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More SAS Interview Questions

which date function advances a date, time or datetime value by a given interval? : Sas programming

0 Answers  


my problem is to export my report to xsl.i can do that.but the problem is my report has 3 headings first heading should be printed with the merging of (1-5)cells and heading 2 should be of merge(2-4)cells?how to do this condition?

2 Answers   Dr Reddys, Oracle,


What is the length assigned to the target variable by the scan function?

0 Answers  


what are the different ways of merging two datasets.name atleast 4.

2 Answers  


How to create a permanent sas data set?

0 Answers  


Mention the difference between ceil and floor functions in sas?

0 Answers  


Can you excute a macro within a macro? Describe.

3 Answers  


what are different analysis datasets you created and what are the new variables created

2 Answers   Sciformix,


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

0 Answers  


proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


what is treatment emergent events and treatment emregent adverse event

0 Answers  


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

0 Answers  


Categories