Category: SAS

Date and datetime: accuracy vs storage and I/O costs (SAS)

How much storage space and I/O resources can be saved by using the LENGTH statement to shrink the storage of date and datetimes while maintaining sufficient precision? In my experience, saving I/O generally makes SAS run faster (such as in a DATA step)…

SAS Snippet: Reshape Data Using SAS DoW Loop (From Long to Wide)

In Art Carpenter’s latest book, Carpenter’s Guide to Innovative SAS Techniques, a data step approach to transpose data (from long to wide) works like (Ch2.4.2): data tst;     input type $ grp value $3.; datalines; A 1 a A 2 aa A 3 aaa B 1 b B 2 bb B 3 bbb C 1 […]

Coding in the fast lane with data-driven macro calls

The simple PRINT macro below prints a selected dataset: %macro print(data=&syslast,obs=5); proc print data=&data(obs=&obs); title "%upcase(&data)"; run; %mend print; Suppose you want to print every dataset in the…

Reach a personal milestone by getting your SAS certification

The SAS Global Certification program hit a significant milestone this year by awarding the 50,000th SAS credential. The program has come a long way since its launch 14 years ago. You can now validate your SAS skills in a variety of credentials includin…

Using SAS to count the number of LinkedIn "shares" for your article

Last year I shared this popular tip for counting how many times a web link has been shared on Twitter or Facebook. I use this technique daily to report on the social media “popularity” of our blog articles at SAS. I wanted to add LinkedIn into the mix. Like Twitter […]

SAS Enterprise Guide: Are You a Member of Programmers Anonymous?

BrownPaperBagManEG

Hi. My name is Quentin. I’m a SAS programmer. And I’m starting to like SAS Enterprise Guide.
In the years since SAS introduced Enterprise Guide, there has been a lot of controversy and hard feelings in the SAS programming community. Many programmers see Enterprise Guide as a tool for newbie programmers, …

The post SAS Enterprise Guide: Are You a Member of Programmers Anonymous? appeared first on Business Intelligence Notes for SAS® BI Users. Written by .