Tag: sas programming

Computing age in SAS 9.3

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 …

Are you too good for code reviews?

The recent issue of InformationWeek features a Q&A session with Ken Thompson, one of the creators of the Unix operating system. (He collaborated with Dennis Ritchie, of C language fame. Since much of SAS is written in C, I daresay there are a fe…

Are you too good for code reviews?

The recent issue of InformationWeek features a Q&A session with Ken Thompson, one of the creators of the Unix operating system. (He collaborated with Dennis Ritchie, of C language fame. Since much of SAS is written in C, I daresay there are a few c…

Which tables contribute to that SAS information map?

About a year ago (wow, has it been that long?), I posted an example program that lets you report on the contents of a SAS information map. Using my example, you can see the data items, filters, and folder structure within a given information map….

How to use SAS DATA step to copy a file from anywhere

SAS-based processes are critical to many organizations, but sometimes the trickiest part of your job falls into one or both of these activities:
Getting stuff from the outside world “into” SAS. (Once it’s in SAS, as many of you know, the world is…

How to use SAS DATA step to copy a file from anywhere

SAS-based processes are critical to many organizations, but sometimes the trickiest part of your job falls into one or both of these activities: Getting stuff from the outside world “into” SAS. (Once it’s in SAS, as many of you know, the world is your …