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 the difference between infile and input? : Sas-administrator

615


What is proc sort?

725


Explain the use of proc gplot? : sas-grid-administration

556


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1331


What are the differences between proc means and proc summary?

605






what is the difference between unique key and primary key? : Sas-di

605


what r the job openings SAS for fresher graduates !

2021


do you need to know if there are any missing values? : Sas programming

553


How do you add a number to a macro variable? : sas-macro

547


Enlist the functions performed by sas.

678


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

764


What is the difference between nodupkey and nodup options?

599


what is sas olap server? : Sas-di

693


how could you generate test data with no input data? : Sas programming

635


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

597