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
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What are the difficulties u faced while doing vital signs table or dataset?
what is program data vector? : Sas-administrator
Mention what are the data types does SAS contain?
what is sas enterprise intelligence architecture? : Sas-bi
What are symget and symput? : sas-macro
What is the sas data set? : sas-grid-administration
how sas deals with business intelligence? : Sas-bi
Do you need to rearrange the order of the data for the report?
how could you generate test data with no input data? : Sas programming
What is the use of %include statement?
How to specify variables to be processed by the freq procedure?
do you prefer proc report or proc tabulate? Why? : Sas programming
what is the basic structure sas administrator? : Sas-administrator
Mention what is the difference between nodupkey and nodup options?