Susan Slaughter

Archive for April, 2013|Monthly archive page

Debugging at SGF

In Everything, SAS, SAS Global Forum, SAS Papers on April 25, 2013 at 9:41 pm

Green Stink BugMost people think that all insects are bugs, but, in fact, only species belonging to the order Hemiptera are considered by scientists to be “true bugs.”  There are about 932,000 species of insects, but only 82,000 species of true bugs.  Fortunately for us, there are a lot fewer species of SAS bugs.

SAS bugs can be classified into three general types: syntax, data, and logic.

  • Syntax errors result when your program fails to follow SAS’s rules about the way keywords are put together to make statements.
  • Data errors happen when you have a program that is syntactically sound, but the data values do not fit the program as it was written.
  • Logic errors happen when you have a program that runs, and data that fits, but the result is wrong because the program gave the wrong instructions.

Debugging is one of my favorite topics.  I  believe that debugging your programs is not only necessary, but also a good way to gain insight into how SAS works.  Once you understand why you got an error, a warning, or a note; you’ll be better able to avoid problems in the future.  In other words, people who are good debuggers are good programmers.

I’m looking forward to talking about bugs (both the SAS kind, and some of the creepy-crawly kind too) at SAS Global Forum next week.  If you will be at there, maybe you can catch my presentation.

Errors, Warnings, and Notes (Oh My!): A Practical Guide to Debugging SAS Programs

Tuesday, May 30, 3:30-4:20 Moscone Center Room 2008

I hope you can come to SAS Global Forum, but if you can’t, there are still a lot of great ways to learn and share the excitement.

You can view my paper here.

You can view the proceedings for all SGF 2013 papers here.

You can view some great presentations on SAS Global Forum Take-Out.

You can even view much of the conference live.

Three Things I Learned As a SAS LUG Leader

In Everything, Sacramento Valley SAS Users Group, SAS, SAS Global Forum, Western Users of SAS Software on April 24, 2013 at 4:40 pm

Three Things I Learned As a SAS Local User Group LeaderI recently had the privilege of speaking at a meeting of the Toronto Area SAS Society.  It was a great meeting, and, honestly, I’m not saying this just because I was one of the speakers.  TASS is the best run local user group I have seen.  They have found the right balance of SAS Institute and user involvement so that they can all pull together without getting in each other’s way.  I was impressed by the high level of enthusiasm and professionalism displayed, especially by Art Tabachneck and Matt Malczewski.

Attending TASS brought back memories for me, memories of the eight years that I led the Sacramento Valley SAS Users Group.  I’m proud of my record.  My goal was to have three meetings a year, and, with the help of many local SAS users, I met that goal.  We had a perfect record, in fact.  Under my leadership we held 25 successful meetings in a row.

It was fun, I worked with some great people, and, of course, I learned some things.  However, some of the things I learned surprised me.  So for all LUG leaders and for everyone who is thinking about becoming a LUG leader, I present

Three Things I Learned As a SAS Local User Group Leader

1) There is a vacuum of leadership in the world. 
Lots of people want to be followers; few want to lead.  If you have any interest in being a leader, you will find abundant opportunities.  And you don’t have to start a group (although that is not a bad idea).  There are lots of organizations (PTAs, clubs, RUGs, LUGs) just waiting for you to step into a leadership role.  Don’t make them beg.  Go ahead, volunteer!

2) You should never start anything without having an exit plan.
I hope this doesn’t sound negative because, honestly, it’s not.  It’s just a fact. The default exit plan is “I will do this for the rest of my life.”  That’s not a bad exit plan.  In fact, it’s an excellent exit plan if the thing you are starting is a marriage or, say, parenthood.  However, most people don’t want to be LUG leaders for the rest of their life.  Therefore, it behooves you to have a plan in place for passing the reins to the next leader of your LUG before you take charge.

3) You need to give yourself credit because other people might not.
For some people this comes naturally; for others it doesn’t.  If you are a modest person, then it’s time to learn how to toot your own horn.  You’re working hard. Let everyone know it!  I understand now why the governor has his picture splashed all over the state website. He’s good at giving himself credit.  You can be too.

SAS has an amazing network of users groups–international, regional, local and in-house–all of which provide great opportunities for networking and learning.  SAS Global Forum is, of course, the ultimate SAS users group, but if you can’t attend SGF, there are lots of others.  The SAS Support site lists many groups.  Why not get involved?