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 / k

There is difference between how SAS handles IF and WHERE
conditions. The 'WHERE' condition is applied on data before
they enter Program Data Vector (PDV) and in case of 'IF' it
is applied after data comes out from PDV. Now, if you have
created a variable in the same data step using
Where : the created variable will not be applied condition.
IF: the created variable will be subjected to the condition
applied.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

1034


What are the difficulties u faced while doing vital signs table or dataset?

2396


what is program data vector? : Sas-administrator

1077


Mention what are the data types does SAS contain?

1153


what is sas enterprise intelligence architecture? : Sas-bi

977


What are symget and symput? : sas-macro

1315


What is the sas data set? : sas-grid-administration

985


how sas deals with business intelligence? : Sas-bi

1056


Do you need to rearrange the order of the data for the report?

2309


how could you generate test data with no input data? : Sas programming

1190


What is the use of %include statement?

1063


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

1076


do you prefer proc report or proc tabulate? Why? : Sas programming

985


what is the basic structure sas administrator? : Sas-administrator

1005


Mention what is the difference between nodupkey and nodup options?

1012