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

Answer Posted / ramesh

Two Where coditions can be used at a time to one variable
Two IF conditions can not be used at a time to one variable

In Where condition either <= OR =< can be used
In If condition only <= can be used.

'where' is Data set options and statement
'If' is only Statement

Is This Answer Correct ?    0 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name few SAS functions?

904


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1042


To what type of programms have you used scratch macros?

2384


what is sas enterprise intelligence architecture? : Sas-bi

788


Did you used proc test? when?

1842


How to limit decimal places for variable using proc means?

837


Explain what is SAS informats?

865


Name validation tools used in SAS

938


Differentiate between sas functions and sas procedures.

907


describe the interaction table in sas di? : Sas-di

823


In sas admin differentiate between roles and capabilities? : sas-grid-administration

807


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

810


Describe the function and untility of the most difficult SAS macro that you have written.

1902


How to convert a numeric variable to a character variable?

899


Explain data_null_?

839