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
Answer Posted / ashish
data count;
set l;
if count(name,'malli') then b=_n_;
run;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
explain about data integrator metadata reports? : Sas-di
describe about physical data integration? : Sas-di
Differences between where and if statement?
What is the difference between where and if statement?
Mention what is SAS data set?
Can you execute macro within another macro? : sas-macro
What is the difference between INPUT and INFILE ?
What does the RUN statement do?
Explain how merging helps to combine data sets.
what versions of sas have you used (on which platforms)? : Sas programming
Mention what is the difference between nodupkey and nodup options?
What are the default statistics for means procedure?
what are input dataset and output dataset options? : Sas programming
Difference between nodup and nodupkey options?
What is the purpose of _character_ and _numeric_?