Tag: SAS

NOTE: Reading Multiple Files (with irregular names)

I was introduced to the INFILE statement’s FILEVAR parameter recently. It seems it’s a great way to read multiple files into a DATA step. Hitherto I had tended to use a widlcard in the FILEREF.

To read multiple files with similar names, you can simply…

NOTE: More on LENGTH Functions

I got a good amount of feedback on my recent article on LENGTH functions, including a blog comment from Rick@SAS. In addition to providing some useful detail on LENGTH functions within SAS/IML, Rick also suggested:
I think a source of confusion with ch…

NOTE: More on LENGTH Functions

I got a good amount of feedback on my recent article on LENGTH functions, including a blog comment from Rick@SAS. In addition to providing some useful detail on LENGTH functions within SAS/IML, Rick also suggested:
I think a source of confusion with ch…

NOTE: Early Bird Discount Ending Soon (SAS Professionals 2011)

The 2011 SAS Professionals Convention is to be held July 12th – 14th in Marlow. Book before June 13th at the reduced rate of £100+VAT. If you plan to go (why wouldn’t you?), don’t miss the early bird discount.

Sadly, for the third year running, event…

NOTE: Early Bird Discount Ending Soon (SAS Professionals 2011)

The 2011 SAS Professionals Convention is to be held July 12th – 14th in Marlow. Book before June 13th at the reduced rate of £100+VAT. If you plan to go (why wouldn’t you?), don’t miss the early bird discount.

Sadly, for the third year running, event…

SAS Global Forum 2011: Personal Notes

It’s wonderful. It’s awful. It’s wonderfully awful and awfully wonderful. –Frommer’s Las Vegas 2010

June at last! June, July and August (great thanks to French colleagues!) would be the best time to prepare a paper for next year’s SAS Global Forum (SGF, 2012 in Orlando, Florida). SGF2012 will hold at the “real” Walt Disney at Orlando […]

The Reviewer Is Always Right

…about something …and it’s up to you to figure out what. At SGF I had the honor of participating in a panel discussion titled “So You Want to Be a SAS Press Author!”  The panel was organized by Nancy Brucken, moderated by Michael Raithel and included authors Art Carpenter, Cynthia Zender, and Mike Molter. During […]

NOTE: Length Functions (Something Missing?)

How many functions to tell you the length of a value do you need? At least six apparently! SAS provides LENGTH, LENGTHC, LENGTHM, LENGTHN, KLENGTH and %LENGTH. Why?…

As we’ve all discovered to our cost, the basic LENGTH function accurately…