<?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/option</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 05:35:14 GMT</pubDate>
<item>
<title>(SAS) ERROR: The format XXXX was not found or could not be loaded. - sarathannapareddy</title>
<link>http://snipplr.com/view/34727/error-the-format-xxxx-was-not-found-or-could-not-be-loaded/</link>
<description><![CDATA[ <p>Whenever you try to open a SAS data set which has permanent formats, you will get the error message in the log file saying

“ERROR: The format XXXX was not found or could not be loaded.”

This happens generally when you don't have the format library where the SAS dataset located. What happens here is, SAS will not permit you to open the data set without the format library.

But, if you use options nofmterr; at the top of your program, SAS will opens the dataset for you despite the fact that it does not have the format library.</p> ]]></description>
<pubDate>Tue, 18 May 2010 13:24:04 GMT</pubDate>
<guid>http://snipplr.com/view/34727/error-the-format-xxxx-was-not-found-or-could-not-be-loaded/</guid>
</item>
<item>
<title>(SAS) Macro IN Operator - sarathannapareddy</title>
<link>http://snipplr.com/view/18372/macro-in-operator/</link>
<description><![CDATA[ <p>Have you ever come across a situation where you have to write a macro program where a macro variable has more than one value? Writing a macro program in this case involves so many different conditions and to connect each condition you generally use OR operator as below… 

%macro test; 
%if &amp;dsn=ae or %if &amp;dsn=ds or %if &amp;dsn=co or %if &amp;dsn=cm %then %do; 
Some---SAS—Statements; 
%end; 
%test;</p> ]]></description>
<pubDate>Sun, 16 Aug 2009 14:52:53 GMT</pubDate>
<guid>http://snipplr.com/view/18372/macro-in-operator/</guid>
</item>
</channel>
</rss>