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
how does sas handle missing values in assignment statements? : Sas programming
what is treatment emergent events and treatment emregent adverse event
Which function is used to count the number of intervals between two sas dates?
how will you location sas platform applications available from web browser? : Sas-bi
This entry was posted in General. Bookmark the permalink. Post a comment or leave
what is star schema? : Sas-di
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
How to test the debugging in sas?
Mention few capabilities of sas framework.
In SAS explain which statement does not perform automatic conversions in comparisons?
What are the functions used for character handling?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What is the difference between order and group variable in proc report?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
How to sort in descending order?