another header





News and Technical Info
From the North East SAS Users Group
August 2006
In This Issue  

Quick Links  

Join our list  
Join our mailing list!

Greetings!

Here's the latest news on the NESUG Annual Conference, plus a technical tip to help you use SAS more productively -- in a format short enough to read over a cup of coffee.

If there are topics you'd like us to address in future issues, e-mail our editor at lois.levin@nesug.org. We want to hear from you!

Daphne Ewing and Paul Gorrell - Conference Co-Chairs

The 2006 NESUG Annual Conference
 
The best value in SAS training!
2006 logo

NESUG 2006 is only a few weeks away -- September 17 – 20 in historic Philadelphia. Here are just a few highlights from the jam-packed agenda:

Rob Russell from The Hartford will do a presentation on "Simple Techniques to Help Trace Problems in Your Application" in the Coder's Corner section. He'll share quick, practical tips to help you chain backwards from problem data sets or mapping formats to their source programs.

Nancy Rausch from SAS will present a hands-on workshop entitled "Practical Tips for Increasing the Peformance of Your SAS Processes." This workshop is a must for anyone working with large data sets in SAS.

Keynote speaker Rick Langston will tell us what's currently being released and what's coming soon in Base SAS. Rick is manager of the Core Systems Department within the Platform R&D Division at SAS.

Malachy Foley from the University of North Carolina at Chapel Hill will present a Pre-Conference Training Session entitled "Merging, Combining and Subsetting SAS Data Sets (Tricks, Traps, and Techniques)." Mal will highlight more than 30 common errors in data manipulation, from the basic to the complex.

And there are dozens more workshops and presentations to choose from. Whether you're a SAS newbie or an experienced SAS user, you'll find topics to help you solve problems and use SAS more effectively than ever before.

So what are you waiting for??? Register today!


Great Reasons to Attend
 
Number 2: Professional development

Not only will you pick up new programming tips and techniques at NESUG, you'll learn new ideas for solving problems and achieving departmental goals using SAS. You'll become a more valuable employee -- and that's the first step to career advancement.


Lots to Do in Philly!
 
tallship

View the Philadelphia skyline at sunset from the deck of a tall ship. Stroll through Chinatown, with its famous "underground market" and magnificent Buddhist Temple. Or get into the mood for fall at the Scarecrow Competition and Display.

Whether you enjoy history, art, great food, nightlife - - or all of the above -- you'll find it in Philadelphia! Plan to arrive early or stay a few days after NESUG to enjoy the local sights, sounds and tastes.


Stay Where the Action Is
 
The Sheraton Philadelphia City Center
hotel room

The Sheraton Philadelphia City Center (formerly the Wyndham Philadelphia) has put together a great package of benefits for NESUG attendees:

  • Free in-room high-speed internet access
  • Free local phone calls
  • Free domestic long-distance calls (48 states)
  • Free local faxes
  • Free domestic long-distance faxes (48 states)
  • Free copies (25 free copies per paid room night)
  • Express check-in and late check-out (2:00pm late
  • Free 800 call access
  • 500 frequent flyer miles (1-4 night stay)
  • Electronic receipts available online
  • Be sure to make your reservations by August 27th!


    Tech Notes
     
    What is a SAS Index Good for Anyhow? by Michael A. Raithel
    mrsurfing

    If there was a SAS performance tool that could drastically reduce your program’s I/O’s, lower its CPU time, and decrease its run time, would you use it? Of course you would! Such a performance tool exists; it is called a SAS index. SAS Indexes can dramatically improve the performance of programs that access small subsets of observations from large SAS data sets. They do this by only accessing and returning the observations that you specify in a WHERE expression, instead of reading the entire SAS data set.

    It is easy to understand how a SAS index can help you to directly access the observations that you need in a particular SAS data set. As an exercise, do the following: Open SAS Online Documentation, Click on the tab, enter the word “rtrace” into the Search tab’s window, and click on . The SAS Online Documentation search function returns about a dozen links. When you click on any of those links, you get a page in the documentation that discusses the SAS RTRACE facility. This saves you the tedious effort of going through the entire SAS Online documentation, page- by-page, looking for occurrences of the word “rtrace”.

    A SAS index is analogous to the search function, above. A good index allows your programs to quickly access the subset of SAS observations that you need from a large SAS data set when you specify a key variable value (or values) that must be matched. This can dramatically improve the speed and efficiency of your SAS programs.

    Conversely, badly conceived SAS indexes return far too many observations and are no better than reading the entire data set sequentially. In the analogy, above, consider how many pages would be returned and how much longer it would take if you searched the SAS Online Documentation for the word “SAS”. That is why it is important to know more about the selection criteria for index variables, as well as the actual creation and use of SAS indexes.

    After deciding that an index is appropriate for your subsetting purposes, you have three tools to choose from to create one: the DATASETS procedure, the SQL procedure, and the DATA Option in a Procedure or in the DATA step. When you do so, SAS creates an index file and associates it with your SAS data set. SAS stores additional indexes in that file and deletes the file when all indexes have been removed from the data set.

    You can create a Simple index from a single variable, or a Composite index from two or more variables. A single SAS data set can have as many indexes as you think are necessary. However, each index you create increases the size of the SAS index file.

    You can exploit indexes with the WHERE statement, the BY statement, or the KEY statement used in either a SET or MODIFY statement. In doing so, you will be increasing the efficiency of your SAS programs that use the index. That is what SAS indexes are good for!

    There is enough information about SAS indexes to fill an entire book. If you are interested in learning more, either check the SAS online documentation, or consider my new book: The Complete Guide to SAS Indexes, at: http://www.sas.com/apps/pubscat/bookdetails.jsp? catid=1&pc=60409

    Michael A. Raithel, a Senior Systems Anaylst for Westat, has published two previous SAS books and over twenty SAS technical papers. He has been a section chair at SUGI, SESUG, and NESUG, and co- chaired NESUG in 1995. A copy of his first SAS book, Tuning SAS Applications in the MVS Environment, resides in the Smithsonian Institution of American History’s Permanent Research Collection of Information Technology. You can reach him at: michaelraithel@westat.com



    We hope to see you next month at the 2006 NESUG Annual Conference!

    Sincerely,


    Daphne Ewing and Paul Gorrell - Conference Co-Chairs
    North East SAS Users Group (NESUG)

    Email Marketing by