<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - sarathannapareddy</title>
<link>http://snipplr.com/users/sarathannapareddy</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 21:41:07 GMT</pubDate>
<item>
<title>(SAS) ERROR: The format XXXX was not found or could not be loaded.</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) Sending the LOG and OUTPUT from PC SAS to a seperate file</title>
<link>http://snipplr.com/view/34726/sending-the-log-and-output-from-pc-sas-to-a-seperate-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 May 2010 13:17:18 GMT</pubDate>
<guid>http://snipplr.com/view/34726/sending-the-log-and-output-from-pc-sas-to-a-seperate-file/</guid>
</item>
<item>
<title>(SAS) Random Sample Selection</title>
<link>http://snipplr.com/view/34215/random-sample-selection/</link>
<description><![CDATA[ <p>Last week my manager asked me to randomly pick 10%observations from a large data set and then create a listing so that the Data management programmers can QC the data. I want to share some thoughts here … how easy and simple to do random sampling. 
Approach 1:

Data step Approach: In this approach, the observations are shuffled using the RANUNI function which assigns a random number to each observation.</p> ]]></description>
<pubDate>Tue, 11 May 2010 10:40:28 GMT</pubDate>
<guid>http://snipplr.com/view/34215/random-sample-selection/</guid>
</item>
<item>
<title>(SAS) tod8. and picture formats: How Can I Find a Time Format that Does Not Remove the Leading Zero e.g. Time5</title>
<link>http://snipplr.com/view/33205/tod8-and-picture-formats-how-can-i-find-a-time-format-that-does-not-remove-the-leading-zero-eg-time5/</link>
<description><![CDATA[ <p>There is currently no time format that puts leading zeros automatically in time values. But there are a number of ways of achieving this, below are some examples.</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:58:45 GMT</pubDate>
<guid>http://snipplr.com/view/33205/tod8-and-picture-formats-how-can-i-find-a-time-format-that-does-not-remove-the-leading-zero-eg-time5/</guid>
</item>
<item>
<title>(SAS) $UPCASEw. format</title>
<link>http://snipplr.com/view/33204/upcasew-format/</link>
<description><![CDATA[ <p>http://studysas.blogspot.com/2010/03/upcasew-format.html</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:55:30 GMT</pubDate>
<guid>http://snipplr.com/view/33204/upcasew-format/</guid>
</item>
<item>
<title>(SAS) PRXMATCH Function</title>
<link>http://snipplr.com/view/33203/prxmatch-function/</link>
<description><![CDATA[ <p>Prxmatch () function is very useful in locating the matching strings. Prxmatch() function has 2 parameters, the first parameter is the regular expression ID (i.e what you are looking in a string for a match) and the second parameter is the character string to be searched. PRXMATCH () function returns the start position of the matching string.</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:52:30 GMT</pubDate>
<guid>http://snipplr.com/view/33203/prxmatch-function/</guid>
</item>
<item>
<title>(SAS) How to create a macro variable containing a list of variables in a DATA set</title>
<link>http://snipplr.com/view/33202/how-to-create-a-macro-variable-containing-a-list-of-variables-in-a-data-set/</link>
<description><![CDATA[ <p>Sometimes it is very handy to have a macro variable contanining the variables names of the dataset. Here are the 2 different ways you can create a macro variable with list of variables names ...</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:49:45 GMT</pubDate>
<guid>http://snipplr.com/view/33202/how-to-create-a-macro-variable-containing-a-list-of-variables-in-a-data-set/</guid>
</item>
<item>
<title>(SAS) Special Missing Values in SAS</title>
<link>http://snipplr.com/view/33201/special-missing-values-in-sas/</link>
<description><![CDATA[ <p>Special missing value is a type of numeric missing value that enables you to represent different categories of missing data by using the letters A-Z or an underscore.</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:47:19 GMT</pubDate>
<guid>http://snipplr.com/view/33201/special-missing-values-in-sas/</guid>
</item>
<item>
<title>(SAS) http://studysas.blogspot.com/2010/04/write-letter-using-sas.html</title>
<link>http://snipplr.com/view/33200/httpstudysasblogspotcom201004writeletterusingsashtml/</link>
<description><![CDATA[ <p>SAS can do many things which most of us don’t have a clue. Here is one example….
Writing a letter</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:44:39 GMT</pubDate>
<guid>http://snipplr.com/view/33200/httpstudysasblogspotcom201004writeletterusingsashtml/</guid>
</item>
<item>
<title>(SAS) CALL EXECUTE: Easy way to print or sort multiple files.</title>
<link>http://snipplr.com/view/33199/call-execute-easy-way-to-print-or-sort-multiple-files/</link>
<description><![CDATA[ <p>When printing multiple files, or sorting multiple datasets, the traditional method is to write multiple steps as below.

Proc print data=libref.ae; var _all_; run;
Proc print data=libref.conmed; var _all_; run;
Proc print data=libref.demog; var _all_; run;
Proc print data=libref.lab; var _all_; run;
Proc print data=libref.medhist; var _all_; run; 
If you are like me who likes to simplify the traditional SAS code here is the tip. CALL EXECUTE comes to rescue here.</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:42:48 GMT</pubDate>
<guid>http://snipplr.com/view/33199/call-execute-easy-way-to-print-or-sort-multiple-files/</guid>
</item>
<item>
<title>(SAS) WARNING: The quoted string currently being processed has become more than 262 characters long. You may have unbalanced quotation</title>
<link>http://snipplr.com/view/33198/warning-the-quoted-string-currently-being-processed-has-become-more-than-262-characters-long-you-may-have-unbalanced-quotation/</link>
<description><![CDATA[ <p>SAS can allow the strings up to 32,767 characters long but some times SAS will write a Warning message ‘ WARNING: The quoted string currently being processed has become more than 262 characters long. You may have unbalanced quotation marks.</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:40:43 GMT</pubDate>
<guid>http://snipplr.com/view/33198/warning-the-quoted-string-currently-being-processed-has-become-more-than-262-characters-long-you-may-have-unbalanced-quotation/</guid>
</item>
<item>
<title>(SAS) SAS Display Manager Commands</title>
<link>http://snipplr.com/view/23940/sas-display-manager-commands/</link>
<description><![CDATA[ <p>In my view, Display Manager commands didn’t get much attention of SAS programmers as they should be. It may be because...

1) SAS Documentation has very little information about how to use this facility.
2) Even Google searches aren’t helpful enough. 

Here are the list of Display Manager Commands I know…


Read more: http://studysas.blogspot.com/2009/11/sas-display-manager-commands.html</p> ]]></description>
<pubDate>Mon, 30 Nov 2009 20:09:17 GMT</pubDate>
<guid>http://snipplr.com/view/23940/sas-display-manager-commands/</guid>
</item>
<item>
<title>(SAS) Even you can Use HASH and DOUBLE DASH: It’s that Simple……</title>
<link>http://snipplr.com/view/22281/even-you-can-use-hash-and-double-dash-its-that-simple/</link>
<description><![CDATA[ <p>In order to understand HASH and DOUBLE HASH concept in SAS you need to know about two different ranges of variables:</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 08:01:39 GMT</pubDate>
<guid>http://snipplr.com/view/22281/even-you-can-use-hash-and-double-dash-its-that-simple/</guid>
</item>
<item>
<title>(SAS) SAS Interview Questions on Macros</title>
<link>http://snipplr.com/view/22280/sas-interview-questions-on-macros/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:59:08 GMT</pubDate>
<guid>http://snipplr.com/view/22280/sas-interview-questions-on-macros/</guid>
</item>
<item>
<title>(SAS) Very Basic  SAS Interview Questions and Answers</title>
<link>http://snipplr.com/view/22279/very-basic--sas-interview-questions-and-answers/</link>
<description><![CDATA[ <p>SAS Interview : General</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:57:43 GMT</pubDate>
<guid>http://snipplr.com/view/22279/very-basic--sas-interview-questions-and-answers/</guid>
</item>
<item>
<title>(SAS) Self teach SAS Tutorials</title>
<link>http://snipplr.com/view/22278/self-teach-sas-tutorials/</link>
<description><![CDATA[ <p>The following are a series of self-teach tutorials which will introduce you to the command language approach to SAS programming. Each tutorial is designed to take about twenty minutes. To work through the tutorials you need to be on a machine which has SAS Version 8 loaded on it, or has access to SAS through the campus network. The material presented in the tutorials is designed to get you 'up and running.' Consequently, many options are omitted. Check the SAS help files for more a detailed discussion of the procedures outlined in the tutorials.

The last tutorial is an introduction to SAS Analyst which is SAS's version of a 'point and click' approach to statistical analysis.</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:52:49 GMT</pubDate>
<guid>http://snipplr.com/view/22278/self-teach-sas-tutorials/</guid>
</item>
<item>
<title>(SAS) Merging the data sets with a common variable if the datasets has the same prefix name?</title>
<link>http://snipplr.com/view/22277/merging-the-data-sets-with-a-common-variable-if-the-datasets-has-the-same-prefix-name/</link>
<description><![CDATA[ <p>For example: col1-col10 dsn1-dsn 7 data1 to data6 with common variable of Usubjid.

here is the example, I have 7 datasets i need to merge and each of them having the common variable(usubjid) to merge, and all the datasets having the same prefix dsn(dsn1 to dsn7).</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:48:29 GMT</pubDate>
<guid>http://snipplr.com/view/22277/merging-the-data-sets-with-a-common-variable-if-the-datasets-has-the-same-prefix-name/</guid>
</item>
<item>
<title>(SAS) SAS Tips: Few Lines of code</title>
<link>http://snipplr.com/view/22276/sas-tips-few-lines-of-code/</link>
<description><![CDATA[ <p>*Creating a flag variable when a test variable meets certain criteria is very common for SAS programmer…. 

Many SAS programmers use the below code to assign a flag of 1 or 0 depending on of the test variable meets criteria or not.;</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:46:04 GMT</pubDate>
<guid>http://snipplr.com/view/22276/sas-tips-few-lines-of-code/</guid>
</item>
<item>
<title>(SAS) Standardising Clinical Data exchange</title>
<link>http://snipplr.com/view/22275/standardising-clinical-data-exchange/</link>
<description><![CDATA[ <p>Almost everyone in Pharma R&amp;D has heard of CDISC, yet many clinical researchers seem unsure of how the standards work and how they can fit in with existing data management operations…..Barry Burnstead explains the existing standards and the practicalities of implementation.</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:43:04 GMT</pubDate>
<guid>http://snipplr.com/view/22275/standardising-clinical-data-exchange/</guid>
</item>
<item>
<title>(SAS) Dummy Dataset or SAS Options: Which is better to insert a Zero Row?</title>
<link>http://snipplr.com/view/22274/dummy-dataset-or-sas-options-which-is-better-to-insert-a-zero-row/</link>
<description><![CDATA[ <p>Always, programmers need to summarize the demographics data and show it in a table and to do so they use Proc Freq procedure. Even though proc Freq calculates the Frequency exactly, it may not be the write procedure in all cases especially when data do not exist.

Some times statistician wants to see all the data values on the CRF in the final table, even though there is no combination as such exists in the dataset. In this case we have to insert observations with 0 values.

Here I will present you ….the different methods to insert a zero row.

1) Creating a Dummy Dataset and Concatenate the dummy dataset with the input dataset.
2) Proc Freq SPARSE option
3) Proc Means COMPLETETYPES Option
4) Proc Means COMPLETETYPES Option with PRELOADFMT option.</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:38:23 GMT</pubDate>
<guid>http://snipplr.com/view/22274/dummy-dataset-or-sas-options-which-is-better-to-insert-a-zero-row/</guid>
</item>
</channel>
</rss>