<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/sas/tags/functions</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 06:44:44 GMT</pubDate>
<item>
<title>(SAS) %EVAL AND %SYSEVALF MACRO FUNCTIONS: GETTING TO KNOW THEM BETTER. - sarathannapareddy</title>
<link>http://snipplr.com/view/17380/eval-and-sysevalf-macro-functions-getting-to-know-them-better/</link>
<description><![CDATA[ <p>http://studysas.blogspot.com/2009/06/eval-and-sysevalf-macro-functions.html</p> ]]></description>
<pubDate>Thu, 23 Jul 2009 09:39:28 GMT</pubDate>
<guid>http://snipplr.com/view/17380/eval-and-sysevalf-macro-functions-getting-to-know-them-better/</guid>
</item>
<item>
<title>(SAS) IFC and IFN functions: New IF functions: - sarathannapareddy</title>
<link>http://snipplr.com/view/16161/ifc-and-ifn-functions-new-if-functions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 21 Jun 2009 09:14:03 GMT</pubDate>
<guid>http://snipplr.com/view/16161/ifc-and-ifn-functions-new-if-functions/</guid>
</item>
<item>
<title>(SAS) Hoe to check if the variable exsits in the dataset or not - sarathannapareddy</title>
<link>http://snipplr.com/view/13859/hoe-to-check-if-the-variable-exsits-in-the-dataset-or-not/</link>
<description><![CDATA[ <p>In SAS sometimes, we need to check whether the variable is exist in the dataset or not, we usually run the proc contents program and physically check if the variable exist in the dataset or not.

If we want to check it programmatically, then use the following code....

Sample dataset:...

data _null_;
dset=open('old');
check=varnum(dset,'SCORE4');
call symput('chk',check);
run;

%put &amp;chk;</p> ]]></description>
<pubDate>Tue, 07 Apr 2009 13:06:32 GMT</pubDate>
<guid>http://snipplr.com/view/13859/hoe-to-check-if-the-variable-exsits-in-the-dataset-or-not/</guid>
</item>
</channel>
</rss>