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...


i have one dataset
data l;
input name: $ 25;
cards;
manoj is a good boy to krishna
krishna is a god boy to malli
malli is good boy to ramana

ques: here i want "manoj" observations nubers

Answers were Sorted based on User's Feedback



i have one dataset data l; input name: $ 25; cards; manoj is a good boy to krishna krishna is a..

Answer / ashish

data count;
set l;
if count(name,'malli') then b=_n_;
run;

Is This Answer Correct ?    2 Yes 0 No

i have one dataset data l; input name: $ 25; cards; manoj is a good boy to krishna krishna is a..

Answer / vivek

data count;
set l;
a = count(sen,'manoj');
run;

Is This Answer Correct ?    4 Yes 4 No

i have one dataset data l; input name: $ 25; cards; manoj is a good boy to krishna krishna is a..

Answer / raghava

data zoo;
infile datalines;
input Name $ 29.;
datalines;
Manoj is good boy to krishna
Krishna is good boy to malli
malli si good boy to ramana
;
run;
proc print;
run;

data zoo1;
set zoo;
Name=catx('','Manoj');
run;
proc print;
run;

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More SAS Interview Questions

is there any difference between proc summary and proc means?

3 Answers  


How to create a permanent sas data set?

0 Answers  


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

0 Answers   Satyam,


I have 50 variables in one data set, In reports i want to generate every 10 variables in one page how we will write code in proc report.

4 Answers  


do you prefer proc report or proc tabulate? Why? : Sas programming

0 Answers  


How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.

1 Answers  


describe about metadata object? : Sas-di

0 Answers  


what is the difference between proc means and proc summary?

2 Answers   Accenture,


Explain the main difference between the sas procedures and functions? : Sas-administrator

0 Answers  


what is picture format? give any one example?

3 Answers   Parexel,


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


what is data integration? : Sas-di

0 Answers  


Categories