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...

In the SAS Data step what is the difference between the
subsetting done by Where and subsetting done by If?

Answer Posted / govardhan bandari

IF-Works With New Variable
Where- Cant work With New Variables

IF-Works After PDV
Where-Works Before PDV

IF-in backend if process all the variable and it gives output based on condition
BUT
Where-process only conditionally met obseravtions

IF-Cant work with proceduers(except proc report with compute statement)
WHERE- work with proceduers

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is character variable converted into numeric variable and vice versa?

1106


Explain the purpose of substr functions in sas programming.

1010


Where do you use proc means over proc freq?

1053


explain what is data set in sas? : Sas-administrator

911


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2401


explain the function of substr in sas? : Sas-administrator

954


What are the functions used for character handling?

1174


what are the scrubbing procedures in sas? : Sas programming

1222


Give an example where SAS fails to convert character value to numeric value automatically?

1027


For what purpose would you use the RETAIN statement?

1464


What is the purpose of trailing @ and @@? How do you use them?

980


What is the difference between INPUT and INFILE ?

1240


What is your favorite all time computer book? Why?

2454


How would you include common or reuse to be processed along with your statements?

2316


explain the proc in sas? : Sas-administrator

1034