javascript
Brief description  about Online courses   join in Online courses
View rahul  das pattanaik 's Profile

What are some of the differences between a WHERE and an IF statement?

What are some of the differences between a WHERE and an IF statement?
Asked by rahul das pattanaik | Dec 29, 2010 |  Reply now
Replies (1)
View devi prasad patro 's Profile
IF can only be used in a DATA step
Many IF statements can be used in one DATA step
Must read the record into the program data vector to perform selection with IF
WHERE can be used in a DATA step as well as a PROC.
A second WHERE will replace the first unless the option ALSO is used
Data subset prior to reading record into PDV with WHERE
Dec 29, 2010