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 |
is there any difference between proc summary and proc means?
How to create a permanent sas data set?
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
I have 50 variables in one data set, In reports i want to generate every 10 variables in one page how we will write code in proc report.
do you prefer proc report or proc tabulate? Why? : Sas programming
How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.
describe about metadata object? : Sas-di
what is the difference between proc means and proc summary?
Explain the main difference between the sas procedures and functions? : Sas-administrator
what is picture format? give any one example?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
what is data integration? : Sas-di