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

Differentiate input and infile.

0 Answers  


What is SAS Information Map Studio and its purpose ?

2 Answers   SAS, TCS,


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

0 Answers  


What are the uses of sas?

0 Answers  


If a variable contains letters or special characters, can it be numeric data type?

0 Answers  


If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?

4 Answers  


Describe what are the different levels of administrative users in sas? : sas-grid-administration

0 Answers  


What is your weekness? I am confuse what to say about this question. so can u give some answer which can be yur strenght.

1 Answers   Cipla,


What is PROC in SAS?

0 Answers  


What is the differnce between SDTM 3.1.2 to 3.1.1 version

0 Answers   Wipro,


Explain how merging helps to combine data sets.

0 Answers  


What is the Program Data Vector (PDV)? What are its functions?

5 Answers   Accenture,


Categories