Posts Tagged ‘ SAS tips ’

Comparing data set schemas in SAS

August 15, 2012
By
Comparing data set schemas in SAS

The project that I'm currently working on requires several input data tables, and those tables must have a specific schema. That is, each input table must contain columns of a specific name, type, and length in order for the rest of the system to function correctly. The schema requirements aren't
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

How to get your SAS data set attributes into Excel

August 14, 2012
By
How to get your SAS data set attributes into Excel

I'm working on a SAS programming project with a large team. Each team member is responsible for a piece of the overall system, and the "contract" for how it all fits together is The Data. For example, I've got a piece that performs some data manipulation and produces several output
Read more »

Tags: , ,
Posted in SAS | Comments Off

Take SAS program editor abbreviations to the next level

November 17, 2011
By
Take SAS program editor abbreviations to the next level

Rick posted a tip today about using abbreviations in the SAS program editor window (often referred to as the "enhanced editor"). Defining abbreviations is a great way to save keystrokes and re-use "templates" of code that you've squirreled away. (One of Rick's readers also picked up on the tip, and
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

Do you mind if we dance with your DATEs (or DATETIMEs)?

November 15, 2011
By
Do you mind if we dance with your DATEs (or DATETIMEs)?

I've been working with date-time data on a recent project, and I've come across a few SAS programs that have "opportunity for improvement" when it comes time to create reports. (Or maybe I haven't, and I contrived this entire blog post so that I could reference one of my favorite
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Calling Windows PowerShell from SAS: a simple example

September 15, 2011
By
Calling Windows PowerShell from SAS: a simple example

As I mentioned in my introductory post about Windows PowerShell, you can use PowerShell commands as a simple and concise method to collect data from your Windows systems; information that is ripe for analysis within SAS. In this example, I'll show a technique for using a SAS program to call
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Google Reader bundles for SAS-related blogs

September 7, 2011
By

I use Google Reader to keep up with SAS-related conversations on the blogosphere.   I thought it would be nice to share the lists of blogs that I follow as "shared bundles".  If you also use Google Reader, it will be very easy for you to add these bundles to
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Using 3rd party shape files to build map charts in SAS

August 30, 2011
By

While talking to SAS users in Australia earlier this month, I often demonstrated the capabilities of the new Map Chart task in SAS Enterprise Guide 4.3. Creating map charts has never been easier: select your map data source, then select your response d...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

Computing age in SAS 9.3

July 12, 2011
By

It seems like such a simple problem: how can you reliably compute the age of someone or something? Susan lamented the subtle issues using the YRDIF function exactly 1.0356164384 years ago. Sure, you could write your own function for calculating ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.