Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi, I have one dataset, could you please ans for this.
id amount paid_amount
1 700 400
2 900 250
3 300 300
a 400 250
b 500 320
c 800 650
x 200 190
y 900 250
z 300 180

i want create new dataset having id and paid_amount who are
paid high amount comparing amount.
ex: 1d paid_amount
3 300
c 650
x 190

Answer Posted / naresh

data high_amount;
set amount;
if amount>paid_amount then output;
drop paid_amount;
run;

proc print;run;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is maximum number of rows and cols can be handled in SAS?

1678


What is the use of the %include statement?

1217


what has been your most common programming mistake? : Sas programming

1189


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

2000


Define run-group processing?

1097


I have a dataset concat having variable a b & c. How to rename a b to e & f?

1083


What is the role of unrestrictive users? : sas-grid-administration

1079


what are informats in sas? : Sas-administrator

1152


Which command is used to perform sorting in sas program?

1095


what is hash files in sas and why we are using this one in sas?

2271


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

1135


What system options would you use to help debug a macro? : sas-macro

1156


How to specify variables to be processed by the freq procedure?

1124


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2178


Can you suggest us materials for sdtm mapping?

4495