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

What is proc sort?

715


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

1915


what has been your most common programming mistake? : Sas programming

562


How you can read the variables that you need?

651


Describe the ways in which you can create macro variables? : sas-macro

574






what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

717


What can you learn from the SAS log when debugging?

915


What is Linear Regression?

683


What are the advantages of using sas?

605


what is data governance? : Sas-di

621


what is transformation in sas data integration? : Sas-di

549


What is slibref?

744


What are the differences between proc means and proc summary?

597


How would you determine the number of missing or nonmissing values in computations?

646


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1679