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 sas metadata server? : Sas-di
WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?
What are exact SAS Base contents..?N what r SAS Tools..?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
What are the different types of sas functions?
What are the analysis datasets created, and what are the new variables created in CLINICAL SAS
1 Answers Accenture, Sciformix,
define table lookup and how may ways it can be done...explian
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
Enlist the functions performed by sas.
data jagan1.s; input bp$; cards; 100/90 120/89 112/87 run; in the above code how to convert character data values to numeric data values?
how can you sort the dataset having millions of OBS(instead of sort procedure?