Tag: productivity

Little Utility Macro

A lot of times when I am working with interactive SAS, I find myself staring at a SAS date that has not been formatted. The quickest way to see the actual date was to go to my “scratch” enhanced editor and write a quick data _null_ to put it to the log…

Efficiently Drop/Keep SAS Data Set Columns

What is the most efficient way to drop/keep columns (variables) in sas tables (data sets)?For the most part, we would correctly say “using a keep= option on the data set as it is being read into the current step.” A quick example to illustrate: data s…

Efficiently Drop/Keep SAS Data Set Columns

What is the most efficient way to drop/keep columns (variables) in sas tables (data sets)?For the most part, we would correctly say “using a keep= option on the data set as it is being read into the current step.” A quick example to illustrate: data s…

Efficiently Drop/Keep SAS Data Set Columns

What is the most efficient way to drop/keep columns (variables) in sas tables (data sets)?For the most part, we would correctly say “using a keep= option on the data set as it is being read into the current step.” A quick example to illustrate: data s…

A plea for consistent style!

As we get close to the end of the year, it’s time to look back over the past year and think of resolutions for 2011 and beyond. One that’s often on my mind relates to ways to structure my code to make it clearer to others (as well as to myself when I l…

Cloud App

Oh man it has been a long time since I have updated this blog. So what’s new?I have a new son! The band I am playing in recently played a gig at the Whisky A Go Go in Hollywood. We’re playing at The Cat Club in Hollywood this Thur come one come all,…

Telecommuting

If you work in a large city there is a good chance you have to commute to work. It is also likely that your commute time is non-trivial. Here in Los Angeles it is not uncommon for people to spend over an hour in their car everyday. No fun!If you sea…

SAS Orphaned Workspace

Sometimes SAS doesn’t shut down correctly and you get stuck with orphaned workspace. These orphaned workspace directories should be cleaned out now and again. You can run this code in SAS to find out where your workspace is and then go to the directo…