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

Can anyone help to find a statement to get all the predefined formats?

3 Answers   Verinon Technology Solutions,


what are methods to identify duplicate observations?

5 Answers   HCL,


What is the good sas programming practices for processing large data sets?

0 Answers  


what are scrubing procedures in SAS?

1 Answers   Oracle,


What do you know about sas data set?

0 Answers  


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

0 Answers  


What are the features of SAS?

0 Answers  


How to specify variables to be processed by the freq procedure?

0 Answers  


Briefly explain input and put function?

0 Answers  


For what purposes have you used sas macros? : sas-macro

0 Answers  


data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks

3 Answers  


What are the data types does SAS contain?

0 Answers  


Categories