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

Which is the best place to learn SAS clinicals and Oracle clinical in hyderabad?

2 Answers  


How do i read multiple spaces in datasets?

4 Answers   Quintiles,


Do you think professionally?

1 Answers   Oracle,


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


What procedure you used to calculate p-value?

2 Answers   Accenture, Quintiles,


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

0 Answers   CTS,


Explain translate function?

0 Answers  


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

0 Answers  


Explain what is SAS informats?

0 Answers  


What is the use of stop statement?

0 Answers  


At compile time when a SAS data set is read, what items are created?

14 Answers   Accenture,


what is data access? : Sas-di

0 Answers  


Categories