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 |
Which is the best place to learn SAS clinicals and Oracle clinical in hyderabad?
How do i read multiple spaces in datasets?
Do you think professionally?
what is the difference between the SAS v8 and SAS v9?
What procedure you used to calculate p-value?
2 Answers Accenture, Quintiles,
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Explain translate function?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Explain what is SAS informats?
What is the use of stop statement?
At compile time when a SAS data set is read, what items are created?
what is data access? : Sas-di