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
Mention what is the difference between nodupkey and nodup options?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
What are the data types that sas contain?
How do you delete duplicate observations in sas?
What can be the size of largest dataset in SAS?
how to remove duplicates using proc sql?
is data integration and etl programming is same? : Sas-di
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
In sas, what are the areas that you are most interested in? : sas-grid-administration
If money were no object, what would you like to do?
Explain how merging helps to combine data sets.
what type of graphs we will create(for 2+years candidates)?
what are input dataset and output dataset options? : Sas programming
how the sas basic syntax style described? : Sas-administrator
What do the SAS log messages "numeric values have been converted to character" mean?