<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 06:22:28 +0000</lastBuildDate>
    <item>
      <title>(SAS) Remove carriage return and linefeed characters within quoted strings - webonomic</title>
      <link>https://snipplr.com/view/72784/remove-carriage-return-and-linefeed-characters-within-quoted-strings</link>
      <description>&lt;p&gt;If a flat file contains embedded carriage return (CR) and linefeed characters (LF) inside double quotes, SAS will interpret them as end of line markers. This may cause your file to be read incorrectly. &#13;
This example replaces CR/LF characters within double quotes with other printable characters. CR/LF characters outside of double quotes are untouched. &#13;
&#13;
In this sample, the external file is updated in place. You cannot separate the input and output because the code uses shared buffers. &#13;
&#13;
You should make a copy of your file before running this sample on it.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Nov 2013 04:53:46 UTC</pubDate>
      <guid>https://snipplr.com/view/72784/remove-carriage-return-and-linefeed-characters-within-quoted-strings</guid>
    </item>
    <item>
      <title>(SAS) Counting the number of observations in a BY-Group - webonomic</title>
      <link>https://snipplr.com/view/72309/counting-the-number-of-observations-in-a-bygroup</link>
      <description>&lt;p&gt;Determine how many observations there are in each BY-Group by using BY-Group processing.&lt;/p&gt;</description>
      <pubDate>Sat, 07 Sep 2013 02:17:26 UTC</pubDate>
      <guid>https://snipplr.com/view/72309/counting-the-number-of-observations-in-a-bygroup</guid>
    </item>
    <item>
      <title>(SAS) Allow a list of non-numeric values for an iterative macro %DO loop - webonomic</title>
      <link>https://snipplr.com/view/71951/allow-a-list-of-nonnumeric-values-for-an-iterative-macro-do-loop</link>
      <description>&lt;p&gt;More details here: https://communities.sas.com/ideas/1084&lt;/p&gt;</description>
      <pubDate>Wed, 24 Jul 2013 00:51:16 UTC</pubDate>
      <guid>https://snipplr.com/view/71951/allow-a-list-of-nonnumeric-values-for-an-iterative-macro-do-loop</guid>
    </item>
    <item>
      <title>(SAS) Using PATHNAME to Retrieve a Physical Path - webonomic</title>
      <link>https://snipplr.com/view/71820/using-pathname-to-retrieve-a-physical-path</link>
      <description>&lt;p&gt;If you know a libref or fileref, the PATHNAME function can be used to return the physical location.&#13;
&#13;
If the libref refers to more than one physical location, all of those locations will be returned, in quotes, separated by spaces, with the whole list in parentheses:&lt;/p&gt;</description>
      <pubDate>Fri, 12 Jul 2013 01:11:57 UTC</pubDate>
      <guid>https://snipplr.com/view/71820/using-pathname-to-retrieve-a-physical-path</guid>
    </item>
    <item>
      <title>(SAS) Using character values on a macro %DO loop - webonomic</title>
      <link>https://snipplr.com/view/71474/using-character-values-on-a-macro-do-loop</link>
      <description>&lt;p&gt;This sample contains 2 macro techniques for iterating through character values on a macro %DO loop.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jun 2013 09:01:40 UTC</pubDate>
      <guid>https://snipplr.com/view/71474/using-character-values-on-a-macro-do-loop</guid>
    </item>
    <item>
      <title>(SAS) Co Word Analysis with SAS - webonomic</title>
      <link>https://snipplr.com/view/68863/co-word-analysis-with-sas</link>
      <description>&lt;p&gt;Text Miner uses a compressed representation of the term-by-doc frequency matrix. You will find an OUT data set in the project data directory of  your text miner run. Its label will include the string "OUT" in it.  Since a 30,000 document collection will have as many as 500,000 to a million distinct terms, be sure to restrict your terms of interest with a start list. I give an example of creating the cooccurrence matrix with the following code which expands the compressed version to an uncompressed version and then computes the co-occurrence count with proc corr and the sscp option.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2012 07:43:07 UTC</pubDate>
      <guid>https://snipplr.com/view/68863/co-word-analysis-with-sas</guid>
    </item>
    <item>
      <title>(SAS) Using Alternating Background Color with PROC REPORT - webonomic</title>
      <link>https://snipplr.com/view/68058/using-alternating-background-color-with-proc-report</link>
      <description>&lt;p&gt;Adding alternating row of color to make proc report output easier to read.&lt;/p&gt;</description>
      <pubDate>Fri, 02 Nov 2012 02:33:20 UTC</pubDate>
      <guid>https://snipplr.com/view/68058/using-alternating-background-color-with-proc-report</guid>
    </item>
    <item>
      <title>(SAS) Specify colors in SAS statistical graphics procedures - webonomic</title>
      <link>https://snipplr.com/view/67903/specify-colors-in-sas-statistical-graphics-procedures</link>
      <description>&lt;p&gt;If you want to see some of the color names that SAS recognizes, run the following statements, which will print a list of colors to the SAS log:&lt;/p&gt;</description>
      <pubDate>Wed, 24 Oct 2012 06:53:06 UTC</pubDate>
      <guid>https://snipplr.com/view/67903/specify-colors-in-sas-statistical-graphics-procedures</guid>
    </item>
    <item>
      <title>(SAS) Default Macro Values - webonomic</title>
      <link>https://snipplr.com/view/67710/default-macro-values</link>
      <description>&lt;p&gt;Quite often it is necessary to set a default value for a macro parameter that is passed to a program. If the program is a macro, the %IF statement can be used to check if the value is provided and provide a default value if not. Since %IF statements are not allowed outside of macros, that technique won't work for a non-macro program (e.g., a file/program that is %INCLUDEd). The following code snippet demonstrates the use of the COALESCEC function to assign a default value.&#13;
&#13;
since macro is a text manipulation facility, the coalesceC function is used regardless of whether the expected value for the parameter is numeric (i.e., everything in macro is interpretted as a character string).&lt;/p&gt;</description>
      <pubDate>Sat, 13 Oct 2012 00:28:05 UTC</pubDate>
      <guid>https://snipplr.com/view/67710/default-macro-values</guid>
    </item>
    <item>
      <title>(SAS) Creating a report of Twitter hashtag activity - webonomic</title>
      <link>https://snipplr.com/view/64529/creating-a-report-of-twitter-hashtag-activity</link>
      <description>&lt;p&gt;The program uses the XML LIBNAME engine, FILENAME URL, SGPLOT procedure, and a simple PROC PRINT to create a report of recent Twitter activity around a specified hashtag.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Apr 2012 01:02:52 UTC</pubDate>
      <guid>https://snipplr.com/view/64529/creating-a-report-of-twitter-hashtag-activity</guid>
    </item>
    <item>
      <title>(DOS Batch) Combine/append ASCII files using DOS - webonomic</title>
      <link>https://snipplr.com/view/64528/combineappend-ascii-files-using-dos</link>
      <description>&lt;p&gt;Quickly combine/append ascii type files such as txt or csv.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Apr 2012 00:53:33 UTC</pubDate>
      <guid>https://snipplr.com/view/64528/combineappend-ascii-files-using-dos</guid>
    </item>
    <item>
      <title>(SAS) Selecting a Random Sample of Observations - webonomic</title>
      <link>https://snipplr.com/view/63355/selecting-a-random-sample-of-observations</link>
      <description>&lt;p&gt;You can use the POINT option of the SET statement to efficiently select a random sample of observations from a SAS data set. In addiiton to any statistical reasons for drawing a random sample, the technique is also useful to create test data from a large file. The program shown here efficiently samples a large data set.&#13;
It reads only the observations that have been selected using the POINT option.&#13;
You assign a variable that is the desired sample size. The example here selects a 10% sample. You can also assign a fixed value (e.g., 100).&#13;
The DO loop is iterated for each observation&#13;
The uniform function is compared to the percent of observations still to be selected&#13;
If the observation is selected, it is read and output and the number needed is decremented by 1&#13;
Regardless the number of observations left is reduced by 1&#13;
The STOP statement is very important as without it, the DATA step will enter an infinite loop.&#13;
This technique works by modifying the threshold as observations are read and selected. Every observation has the same probability of being selected so the technique is statistically valid (If you are a statistician, you probably know this. If not, the analogy of drawing straws is the logic behind this.)&lt;/p&gt;</description>
      <pubDate>Thu, 16 Feb 2012 02:08:13 UTC</pubDate>
      <guid>https://snipplr.com/view/63355/selecting-a-random-sample-of-observations</guid>
    </item>
    <item>
      <title>(SAS) Convert SAS dataset to Text file - webonomic</title>
      <link>https://snipplr.com/view/60841/convert-sas-dataset-to-text-file</link>
      <description>&lt;p&gt;This SAS macro will convert a dataset to a text file&lt;/p&gt;</description>
      <pubDate>Tue, 15 Nov 2011 14:20:12 UTC</pubDate>
      <guid>https://snipplr.com/view/60841/convert-sas-dataset-to-text-file</guid>
    </item>
    <item>
      <title>(SAS) Exporting Multiple Data Sets to One Spreadsheet - webonomic</title>
      <link>https://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet</link>
      <description>&lt;p&gt;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).&lt;/p&gt;</description>
      <pubDate>Sat, 19 Mar 2011 07:32:29 UTC</pubDate>
      <guid>https://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet</guid>
    </item>
    <item>
      <title>(SAS) Store a zero value in place of missing when reporting numeric values - webonomic</title>
      <link>https://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 22 Jan 2011 10:20:23 UTC</pubDate>
      <guid>https://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values</guid>
    </item>
    <item>
      <title>(Ruby) Strip characters from between two delimiters - webonomic</title>
      <link>https://snipplr.com/view/42947/strip-characters-from-between-two-delimiters</link>
      <description>&lt;p&gt;This regular expression used in Ruby will extract the characters between single or multi-character delimiters.  It helps when you have strange delimiters such as \":delimeter1: text I want to grab goes here :delimiter2:\"&lt;/p&gt;</description>
      <pubDate>Tue, 26 Oct 2010 04:00:58 UTC</pubDate>
      <guid>https://snipplr.com/view/42947/strip-characters-from-between-two-delimiters</guid>
    </item>
    <item>
      <title>(SAS) Create a new variable based on the first non missing value from a list of variables - webonomic</title>
      <link>https://snipplr.com/view/41119/create-a-new-variable-based-on-the-first-non-missing-value-from-a-list-of-variables</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 29 Sep 2010 02:55:10 UTC</pubDate>
      <guid>https://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) Retrieve the physical location of a dynamic dataset, file or folder in SAS - webonomic</title>
      <link>https://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas</link>
      <description>&lt;p&gt;The PATHNAME function can be used to retrieve the physical location of a file or directory. This can be especially useful when reassigning engines for a libref using the Macro Language.&#13;
&#13;
Here we want to write a Version 6 copy of the data set CLASS to the same location as the MYDATA library, however in order to issue a new LIBNAME statement we need to know the location of the MYDATA library. The PATHNAME function returns this location and the new libref (MYDAT6) can be created.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Feb 2010 16:04:44 UTC</pubDate>
      <guid>https://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas</guid>
    </item>
    <item>
      <title>(Bash) Create ISO files in Linux - webonomic</title>
      <link>https://snipplr.com/view/26623/create-iso-files-in-linux</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 17 Jan 2010 16:22:30 UTC</pubDate>
      <guid>https://snipplr.com/view/26623/create-iso-files-in-linux</guid>
    </item>
    <item>
      <title>(Ruby) Ruby vcard maker - webonomic</title>
      <link>https://snipplr.com/view/26218/ruby-vcard-maker</link>
      <description>&lt;p&gt;Requires vPim package.&lt;/p&gt;</description>
      <pubDate>Sun, 10 Jan 2010 13:27:32 UTC</pubDate>
      <guid>https://snipplr.com/view/26218/ruby-vcard-maker</guid>
    </item>
    <item>
      <title>(Ruby) Ruby script to save a string to a file. - webonomic</title>
      <link>https://snipplr.com/view/26217/ruby-script-to-save-a-string-to-a-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 10 Jan 2010 13:23:39 UTC</pubDate>
      <guid>https://snipplr.com/view/26217/ruby-script-to-save-a-string-to-a-file</guid>
    </item>
    <item>
      <title>(Bash) Send email using mail command on linux - webonomic</title>
      <link>https://snipplr.com/view/24239/send-email-using-mail-command-on-linux</link>
      <description>&lt;p&gt;This command will email the contents of emailbody.txt to somebody@domain.com with the subject My subject line.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 23:56:13 UTC</pubDate>
      <guid>https://snipplr.com/view/24239/send-email-using-mail-command-on-linux</guid>
    </item>
    <item>
      <title>(Bash) Loop through Array in Bash - webonomic</title>
      <link>https://snipplr.com/view/24230/loop-through-array-in-bash</link>
      <description>&lt;p&gt;This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 20:45:39 UTC</pubDate>
      <guid>https://snipplr.com/view/24230/loop-through-array-in-bash</guid>
    </item>
    <item>
      <title>(SAS) Show all possible values in table regardless of whether or not the value exists - webonomic</title>
      <link>https://snipplr.com/view/18831/show-all-possible-values-in-table-regardless-of-whether-or-not-the-value-exists</link>
      <description>&lt;p&gt;Here are two solutions when creating a table to show responses to a questionnaire where respondents rate items in various categories.  In this case, the responses range from 0 to 5 (N/A, Very Poor, Poor, Average, Good, Very Good).&lt;/p&gt;</description>
      <pubDate>Tue, 25 Aug 2009 13:19:46 UTC</pubDate>
      <guid>https://snipplr.com/view/18831/show-all-possible-values-in-table-regardless-of-whether-or-not-the-value-exists</guid>
    </item>
    <item>
      <title>(Bash) Backup your MBR on Linux - webonomic</title>
      <link>https://snipplr.com/view/13173/backup-your-mbr-on-linux</link>
      <description>&lt;p&gt;About the dd command:&#13;
&#13;
dd if=&lt;source&gt; of=&lt;target&gt; bs=&lt;byte&gt;("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=&lt;conversion&gt;.&#13;
&#13;
Source is the data being read. Target is where the data gets written.&#13;
&#13;
Warning!! If you reverse the source and target, you can wipe out a lot of data. This feature has inspired the nickname "dd" Data Destroyer.&#13;
Warning!! Caution should be observed when using dd to duplicate encrypted partitions.&lt;/p&gt;</description>
      <pubDate>Tue, 17 Mar 2009 00:11:55 UTC</pubDate>
      <guid>https://snipplr.com/view/13173/backup-your-mbr-on-linux</guid>
    </item>
    <item>
      <title>(SAS) Create Access Database from SAS - webonomic</title>
      <link>https://snipplr.com/view/12382/create-access-database-from-sas</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 19 Feb 2009 12:08:21 UTC</pubDate>
      <guid>https://snipplr.com/view/12382/create-access-database-from-sas</guid>
    </item>
    <item>
      <title>(SAS) Reorder Variables in SAS - webonomic</title>
      <link>https://snipplr.com/view/11852/reorder-variables-in-sas</link>
      <description>&lt;p&gt;Use the Retain Statement to reorder variables.  No data is lost and the variable attributes are kept.  Works for SAS 8.2 and up.&lt;/p&gt;</description>
      <pubDate>Wed, 04 Feb 2009 17:44:56 UTC</pubDate>
      <guid>https://snipplr.com/view/11852/reorder-variables-in-sas</guid>
    </item>
    <item>
      <title>(SAS) SAS Array Colon Modifier - webonomic</title>
      <link>https://snipplr.com/view/11581/sas-array-colon-modifier</link>
      <description>&lt;p&gt;Use the colon : modifier to build an array.&#13;
The colon is like a wildcard.  In this case, anything that starts with ash.&#13;
SAS Arrays hold variable names which can be used during tedious procedures such as conditional loops.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Jan 2009 17:05:01 UTC</pubDate>
      <guid>https://snipplr.com/view/11581/sas-array-colon-modifier</guid>
    </item>
    <item>
      <title>(SAS) Delete observations containing characters and keep numeric values only - webonomic</title>
      <link>https://snipplr.com/view/11572/delete-observations-containing-characters-and-keep-numeric-values-only</link>
      <description>&lt;p&gt;How to delete observations containing characters (e.g. 92z89 or abcd) and only keep the ones with numeric values.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Jan 2009 12:28:57 UTC</pubDate>
      <guid>https://snipplr.com/view/11572/delete-observations-containing-characters-and-keep-numeric-values-only</guid>
    </item>
    <item>
      <title>(Bash) Unique Background Wallpapers for Workspaces on Linux - webonomic</title>
      <link>https://snipplr.com/view/11349/unique-background-wallpapers-for-workspaces-on-linux</link>
      <description>&lt;p&gt;Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too).&#13;
&#13;
Take the below 2 scripts to make 2 separate files.  Use gconf-editor to attach keybindings to run_command_1 and run_command_2.  Set command_1 and command_2 to point to the appropriate files.  &#13;
&#13;
See the URL for more details.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Jan 2009 11:50:37 UTC</pubDate>
      <guid>https://snipplr.com/view/11349/unique-background-wallpapers-for-workspaces-on-linux</guid>
    </item>
    <item>
      <title>(SAS) Get SAS Version - webonomic</title>
      <link>https://snipplr.com/view/10638/get-sas-version</link>
      <description>&lt;p&gt;Print the version of SAS to your logs using any of these 3 macros&lt;/p&gt;</description>
      <pubDate>Mon, 22 Dec 2008 13:32:25 UTC</pubDate>
      <guid>https://snipplr.com/view/10638/get-sas-version</guid>
    </item>
    <item>
      <title>(SAS) Convert values from character to numeric or from numeric to character - webonomic</title>
      <link>https://snipplr.com/view/10383/convert-values-from-character-to-numeric-or-from-numeric-to-character</link>
      <description>&lt;p&gt;Original Source from http://support.sas.com/kb/24/590.html&lt;/p&gt;</description>
      <pubDate>Wed, 10 Dec 2008 15:46:11 UTC</pubDate>
      <guid>https://snipplr.com/view/10383/convert-values-from-character-to-numeric-or-from-numeric-to-character</guid>
    </item>
    <item>
      <title>(Bash) ImageMagick: Convert PDF to Images - webonomic</title>
      <link>https://snipplr.com/view/10361/imagemagick-convert-pdf-to-images</link>
      <description>&lt;p&gt;If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code.&#13;
&#13;
This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.&lt;/p&gt;</description>
      <pubDate>Tue, 09 Dec 2008 12:54:25 UTC</pubDate>
      <guid>https://snipplr.com/view/10361/imagemagick-convert-pdf-to-images</guid>
    </item>
    <item>
      <title>(Bash) ImageMagick: Append many images into one - webonomic</title>
      <link>https://snipplr.com/view/10360/imagemagick-append-many-images-into-one</link>
      <description>&lt;p&gt;You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)&lt;/p&gt;</description>
      <pubDate>Tue, 09 Dec 2008 12:45:30 UTC</pubDate>
      <guid>https://snipplr.com/view/10360/imagemagick-append-many-images-into-one</guid>
    </item>
    <item>
      <title>(SAS) Proc FCMP Creating a Function and Calling the Function from a DATA Step - webonomic</title>
      <link>https://snipplr.com/view/8779/proc-fcmp-creating-a-function-and-calling-the-function-from-a-data-step</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:44:26 UTC</pubDate>
      <guid>https://snipplr.com/view/8779/proc-fcmp-creating-a-function-and-calling-the-function-from-a-data-step</guid>
    </item>
    <item>
      <title>(SAS) Proc FCMP Creating a Call Routine and Function - webonomic</title>
      <link>https://snipplr.com/view/8778/proc-fcmp-creating-a-call-routine-and-function</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:42:49 UTC</pubDate>
      <guid>https://snipplr.com/view/8778/proc-fcmp-creating-a-call-routine-and-function</guid>
    </item>
    <item>
      <title>(SAS) Proc FCMP Example - webonomic</title>
      <link>https://snipplr.com/view/8777/proc-fcmp-example</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:37:04 UTC</pubDate>
      <guid>https://snipplr.com/view/8777/proc-fcmp-example</guid>
    </item>
    <item>
      <title>(SAS) Count up the number of characters in a string - webonomic</title>
      <link>https://snipplr.com/view/8776/count-up-the-number-of-characters-in-a-string</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:19:06 UTC</pubDate>
      <guid>https://snipplr.com/view/8776/count-up-the-number-of-characters-in-a-string</guid>
    </item>
    <item>
      <title>(SAS) Count up the number of substrings in a string - webonomic</title>
      <link>https://snipplr.com/view/8775/count-up-the-number-of-substrings-in-a-string</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:18:06 UTC</pubDate>
      <guid>https://snipplr.com/view/8775/count-up-the-number-of-substrings-in-a-string</guid>
    </item>
    <item>
      <title>(SAS) Use Regular Expressions in Proc SQL - webonomic</title>
      <link>https://snipplr.com/view/8774/use-regular-expressions-in-proc-sql</link>
      <description>&lt;p&gt;You can use regular expressions within SQL. This can be quite powerful in selecting data that matches certain conditions. The following example shows a simple regular expression which selects only quarterly periods from a table containing years, quarters &amp; months.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:16:09 UTC</pubDate>
      <guid>https://snipplr.com/view/8774/use-regular-expressions-in-proc-sql</guid>
    </item>
    <item>
      <title>(SAS) Access SQLite Database from SAS - webonomic</title>
      <link>https://snipplr.com/view/8726/access-sqlite-database-from-sas</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 18:23:07 UTC</pubDate>
      <guid>https://snipplr.com/view/8726/access-sqlite-database-from-sas</guid>
    </item>
    <item>
      <title>(SAS) Needle Plot with SGPLOT - webonomic</title>
      <link>https://snipplr.com/view/6656/needle-plot-with-sgplot</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 11 Jun 2008 12:44:04 UTC</pubDate>
      <guid>https://snipplr.com/view/6656/needle-plot-with-sgplot</guid>
    </item>
    <item>
      <title>(SAS) Match Merge using Proc SQL - webonomic</title>
      <link>https://snipplr.com/view/6448/match-merge-using-proc-sql</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 24 May 2008 18:44:21 UTC</pubDate>
      <guid>https://snipplr.com/view/6448/match-merge-using-proc-sql</guid>
    </item>
    <item>
      <title>(SAS) SAS goto statement - webonomic</title>
      <link>https://snipplr.com/view/6277/sas-goto-statement</link>
      <description>&lt;p&gt;You can use the goto statement to have SAS process statements in some other part of your program, by providing a label followed by a colon before the statements you wish to jump to. Label names follow the same rules as variable names, but have a different name space. When a labeled statement is encountered in normal processing, it is ignored.&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 13:40:57 UTC</pubDate>
      <guid>https://snipplr.com/view/6277/sas-goto-statement</guid>
    </item>
    <item>
      <title>(SAS) Create a new data set for each BY-Group in a data set - webonomic</title>
      <link>https://snipplr.com/view/6212/create-a-new-data-set-for-each-bygroup-in-a-data-set</link>
      <description>&lt;p&gt;This sample uses macro logic to determine the number of unique values of a variable (the BY variable) and creates a new data set for each. The resulting data set names will be the BY variable value.&#13;
&#13;
Limitations:&#13;
&#13;
The sample code does not allow for BY values of longer than 32 positions, numeric BY values or BY values that contain characters that are not permitted in SAS data set names.&#13;
&#13;
If your data contains any of the above, you must add program statements to convert your BY values into valid SAS data set names.&lt;/p&gt;</description>
      <pubDate>Tue, 13 May 2008 17:23:08 UTC</pubDate>
      <guid>https://snipplr.com/view/6212/create-a-new-data-set-for-each-bygroup-in-a-data-set</guid>
    </item>
    <item>
      <title>(SAS) SAS String Parsing - webonomic</title>
      <link>https://snipplr.com/view/6111/sas-string-parsing</link>
      <description>&lt;p&gt;Need to construct and ID of the first 5 letters and the last 7 digits&lt;/p&gt;</description>
      <pubDate>Sat, 03 May 2008 15:52:36 UTC</pubDate>
      <guid>https://snipplr.com/view/6111/sas-string-parsing</guid>
    </item>
    <item>
      <title>(SAS) Merge datasets with unlike variable names - webonomic</title>
      <link>https://snipplr.com/view/6110/merge-datasets-with-unlike-variable-names</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 03 May 2008 15:26:35 UTC</pubDate>
      <guid>https://snipplr.com/view/6110/merge-datasets-with-unlike-variable-names</guid>
    </item>
    <item>
      <title>(SAS) Using Proc SQL to summarize tables into groupings - webonomic</title>
      <link>https://snipplr.com/view/6109/using-proc-sql-to-summarize-tables-into-groupings</link>
      <description>&lt;p&gt;Using Proc SQL summarize the table sashelp.shoes grouping on&lt;/p&gt;</description>
      <pubDate>Sat, 03 May 2008 15:19:18 UTC</pubDate>
      <guid>https://snipplr.com/view/6109/using-proc-sql-to-summarize-tables-into-groupings</guid>
    </item>
    <item>
      <title>(SAS) Create one response from "check all that apply" variables - webonomic</title>
      <link>https://snipplr.com/view/5748/create-one-response-from-check-all-that-apply-variables</link>
      <description>&lt;p&gt;Below is some code written for creating one response from survey questions where the respondent checks all that apply.&lt;/p&gt;</description>
      <pubDate>Tue, 08 Apr 2008 03:33:17 UTC</pubDate>
      <guid>https://snipplr.com/view/5748/create-one-response-from-check-all-that-apply-variables</guid>
    </item>
    <item>
      <title>(SAS) Paired Bar Chart - webonomic</title>
      <link>https://snipplr.com/view/5648/paired-bar-chart</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 01 Apr 2008 14:03:20 UTC</pubDate>
      <guid>https://snipplr.com/view/5648/paired-bar-chart</guid>
    </item>
  </channel>
</rss>
