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


Please Help Members By Posting Answers For Below Questions

what do the mod and int function do? What do the pad and dim functions do? : Sas programming

617


what are the considerations when picking a SAS/STAT procedure?

2906


What is PDV?

730


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1587


What is the basic syntax of a sas program?

671






Have you ever used the SAS Debugger?

1211


name some data transformation used in sas di? : Sas-di

548


Differentiate between proc means and proc summary.

606


What are the advantages of using sas?

611


What do the PUT and INPUT functions do?

783


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

587


Intern stastical programmer written test

290


What would be the value of month at the end of data step execution and how many observations would be there?

583


why is a stop statement needed for the point=option on a set statement? : Sas programming

589


How can you create a macro variable with in data step? : sas-macro

578