<?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</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Feb 2012 20:49:48 GMT</pubDate>
<item>
<title>(SAS) Convert SAS dataset to Text file - webonomic</title>
<link>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</link>
<description><![CDATA[ <p>This SAS macro will convert a dataset to a text file</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 14:20:12 GMT</pubDate>
<guid>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</guid>
</item>
<item>
<title>(SAS) Create new folder with simple checks - rambles</title>
<link>http://snipplr.com/view/60483/create-new-folder-with-simple-checks/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Nov 2011 20:57:32 GMT</pubDate>
<guid>http://snipplr.com/view/60483/create-new-folder-with-simple-checks/</guid>
</item>
<item>
<title>(SAS) Text to SAS Variable Name - rambles</title>
<link>http://snipplr.com/view/58641/text-to-sas-variable-name/</link>
<description><![CDATA[ <p>Useful functions to ensure (99% of the time...) that a piece of text can be used to name a SAS variable.  NOTE: This won't work with SAS literals.</p> ]]></description>
<pubDate>Tue, 13 Sep 2011 19:10:02 GMT</pubDate>
<guid>http://snipplr.com/view/58641/text-to-sas-variable-name/</guid>
</item>
<item>
<title>(SAS) Simple hash lookup - rambles</title>
<link>http://snipplr.com/view/57871/simple-hash-lookup/</link>
<description><![CDATA[ <p>Simple, basic syntax for SAS lookup</p> ]]></description>
<pubDate>Tue, 16 Aug 2011 19:21:14 GMT</pubDate>
<guid>http://snipplr.com/view/57871/simple-hash-lookup/</guid>
</item>
<item>
<title>(SAS) Summary datasets using hashes - rambles</title>
<link>http://snipplr.com/view/54497/summary-datasets-using-hashes/</link>
<description><![CDATA[ <p>This snippet comes directly from Paul M. Dorfman's paper on programming with Hash objects.  The hash object is useful when summarising huge datasets that aren't sorted and indexed by the variable(s) to be summarised; they can often be quicker than proc summary and are certainly less machine intensive.</p> ]]></description>
<pubDate>Fri, 27 May 2011 19:45:20 GMT</pubDate>
<guid>http://snipplr.com/view/54497/summary-datasets-using-hashes/</guid>
</item>
<item>
<title>(SAS) Output list of files and folders to a dataset - rambles</title>
<link>http://snipplr.com/view/54424/output-list-of-files-and-folders-to-a-dataset/</link>
<description><![CDATA[ <p>This simple, straightforward method should work on multiple platforms (other methods involving OS specific commands and pipes are less flexible).</p> ]]></description>
<pubDate>Thu, 26 May 2011 20:02:18 GMT</pubDate>
<guid>http://snipplr.com/view/54424/output-list-of-files-and-folders-to-a-dataset/</guid>
</item>
<item>
<title>(SAS) Exporting Multiple Data Sets to One Spreadsheet - webonomic</title>
<link>http://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet/</link>
<description><![CDATA[ <p>It's easy to export several data sets to one Excel spreadsheet with each data set in a separate worksheet.This example exports three SAS data sets (work.region, work.county and work.district) to the same spreadsheet (results.xls).</p> ]]></description>
<pubDate>Sat, 19 Mar 2011 07:32:29 GMT</pubDate>
<guid>http://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet/</guid>
</item>
<item>
<title>(SAS) Convert character field in to SAS date field - mprabhuram</title>
<link>http://snipplr.com/view/49898/convert-character-field-in-to-sas-date-field/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Mar 2011 09:52:13 GMT</pubDate>
<guid>http://snipplr.com/view/49898/convert-character-field-in-to-sas-date-field/</guid>
</item>
<item>
<title>(SAS) Correcting for unbalanced quotes - Stat_Geek</title>
<link>http://snipplr.com/view/49079/correcting-for-unbalanced-quotes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Feb 2011 10:39:40 GMT</pubDate>
<guid>http://snipplr.com/view/49079/correcting-for-unbalanced-quotes/</guid>
</item>
<item>
<title>(SAS) Delete all labels - Stat_Geek</title>
<link>http://snipplr.com/view/49078/delete-all-labels/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Feb 2011 10:35:12 GMT</pubDate>
<guid>http://snipplr.com/view/49078/delete-all-labels/</guid>
</item>
<item>
<title>(SAS) Store a zero value in place of missing when reporting numeric values - webonomic</title>
<link>http://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 22 Jan 2011 10:20:23 GMT</pubDate>
<guid>http://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values/</guid>
</item>
<item>
<title>(SAS) Substring function - mprabhuram</title>
<link>http://snipplr.com/view/46526/substring-function/</link>
<description><![CDATA[ <p>SUBSTRN(String,Start,count)</p> ]]></description>
<pubDate>Wed, 05 Jan 2011 07:24:35 GMT</pubDate>
<guid>http://snipplr.com/view/46526/substring-function/</guid>
</item>
<item>
<title>(SAS) SAS Oracle Bulk Load - mprabhuram</title>
<link>http://snipplr.com/view/45037/sas-oracle-bulk-load/</link>
<description><![CDATA[ <p>use bulk load to save a large SAS dataset into oracle/DB2/SQL Server/ Teradata for joining with other tables etc..

Alternate link : http://www2.sas.com/proceedings/sugi29/106-29.pdf</p> ]]></description>
<pubDate>Tue, 30 Nov 2010 06:14:29 GMT</pubDate>
<guid>http://snipplr.com/view/45037/sas-oracle-bulk-load/</guid>
</item>
<item>
<title>(SAS) Macro to create an ordering (for PROC REPORT) - sandman7OR</title>
<link>http://snipplr.com/view/43010/macro-to-create-an-ordering-for-proc-report/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Oct 2010 09:07:56 GMT</pubDate>
<guid>http://snipplr.com/view/43010/macro-to-create-an-ordering-for-proc-report/</guid>
</item>
<item>
<title>(SAS) SAS Macro to FTP files between PC and Unix or among Unix server Locations... - sastechies</title>
<link>http://snipplr.com/view/42667/sas-macro-to-ftp-files-between-pc-and-unix-or-among-unix-server-locations/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Oct 2010 12:34:08 GMT</pubDate>
<guid>http://snipplr.com/view/42667/sas-macro-to-ftp-files-between-pc-and-unix-or-among-unix-server-locations/</guid>
</item>
<item>
<title>(SAS) SAS Macros to Search and Report Errors and Warnings from your SAS Logs - sastechies</title>
<link>http://snipplr.com/view/42133/sas-macros-to-search-and-report-errors-and-warnings-from-your-sas-logs/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Oct 2010 21:59:47 GMT</pubDate>
<guid>http://snipplr.com/view/42133/sas-macros-to-search-and-report-errors-and-warnings-from-your-sas-logs/</guid>
</item>
<item>
<title>(SAS) SAS Macros to Read data from MS Excel using DDE - sastechies</title>
<link>http://snipplr.com/view/41777/sas-macros-to-read-data-from-ms-excel-using-dde/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 07 Oct 2010 23:03:59 GMT</pubDate>
<guid>http://snipplr.com/view/41777/sas-macros-to-read-data-from-ms-excel-using-dde/</guid>
</item>
<item>
<title>(SAS) Create a new variable based on the first non missing value from a list of variables - webonomic</title>
<link>http://snipplr.com/view/41119/create-a-new-variable-based-on-the-first-non-missing-value-from-a-list-of-variables/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Sep 2010 02:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/41119/create-a-new-variable-based-on-the-first-non-missing-value-from-a-list-of-variables/</guid>
</item>
<item>
<title>(SAS) DS-PhotoTemplate: Step 1 - secondfret</title>
<link>http://snipplr.com/view/40885/dsphototemplate-step-1/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 22 Sep 2010 03:31:29 GMT</pubDate>
<guid>http://snipplr.com/view/40885/dsphototemplate-step-1/</guid>
</item>
<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>
</channel>
</rss>
