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

diff between nodup rec and ondup key???

3 Answers   AON, Sciformix,


Explain append procedure?

0 Answers  


i have a dataset with var1,var2,var3; i want to upload the titles for the variables . How can we?

1 Answers   GSK,


Mention how to limit decimal places for the variable using proc means?

0 Answers  


How are numeric and character missing values represented internally?

0 Answers   Quintiles,


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

0 Answers  


Enlist the syntax rules followed in sas statements.

0 Answers  


Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?

2 Answers  


Give some ways by which you can define the variables to produce the summary report (using proc report)?

0 Answers  


Mention the validation tools used in SAS?

0 Answers  


Which command is used to save logs in the external file?

0 Answers  


In SAS explain which statement does not perform automatic conversions in comparisons?

0 Answers  


Categories