s-news
[Top] [All Lists]

SAS Programming Tip from SAS Certified Professional - Sunil Gupta

To: s-news@lists.biostat.wustl.edu
Subject: SAS Programming Tip from SAS Certified Professional - Sunil Gupta
From: GuptaProgramming@cs.com
Date: Thu, 7 Jul 2005 11:13:47 EDT
Hi SAS Users,

I thought you might be interested in this tip I wrote for SAS. It is one of many useful techniques in my latest book, Sharpening Your SAS Skills, (www.crcpress.com).

SAS Programming Tip from SAS Certified Professional - Sunil Gupta

When do I use a WHERE statement versus an IF statement to subset a data set?

When programming in SAS, there is almost always more than one way to accomplish a task. Beginning programmers may think that there is no difference between using the WHERE statement and the IF statement to subset your data set. Knowledgeable programmers know that, depending on the situation, sometimes one statement is more appropriate than the other.

Learn More at:
http://support.sas.com/faq/042/FAQ04278.html?ETS=2799&PID=94063

===========================================================
Sunil Gupta
Author, Trainer, Principal Programmer
SAS Base Certified Professional
Services in Statistical Programming, Reporting Generation and Data Managemenet
http://www.GuptaProgramming.com

** NOW RELEASED: Take your SAS knowledge to the
next level with my NEW SAS book: Sharpening Your SAS Skills
** Looking for customized SAS Training and software development?
Phone: (805)-584-6182
E-mail: Sunil@GuptaProgramming.com
<Prev in Thread] Current Thread [Next in Thread>