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 |
How do you control the number of observations and/or variables read or written?
Briefly explain input and put function?
what is the primary variable in your study?
Name and describe few sas character functions that are used for data cleaning in brief.
how can you improve the performance of a query, If it is excuting very slowly?
what does the run statement do? : Sas programming
What does P-value signify about the statistical data?
How do you download a flat file from Mainframe to your local PC using SAS?
What are the features of base sas system?
In the flow of DATA step processing, what is the first action in a typical DATA Step?
How do you debug and test your SAS programs?
what are the considerations when picking a SAS/STAT procedure?
0 Answers Accenture, Quintiles,