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
Answer / ashish
data count;
set l;
if count(name,'malli') then b=_n_;
run;
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
what is factor analysis? : Sas-administrator
What is SAS? is it a software just for use or we can creat something over there?
what is SAS ACCESS AND SAS CONNECT ? Give an example and data statements used.
Difference between nodup and nodupkey options?
Tell me about % include and % eval? : sas-macro
how can u import .csv file in to SAS?tell Syntax?
7 Answers CitiGroup, Franklin Templeton,
Describe crosslist option in tables statement?
What is the purpose of trailing @ and @@? How do you use them?
What is _n_?
Explain the purpose of retain statement.
How would you remove a format that has been permanently associated with a variables?
what does .. meant in sas macros