View as a Web page

SAS® Tech Report SAS
January 2012 support.sas.com  |  subscribe  |  unsubscribe

Dear Readers,

I get a lot of emails from SAS Tech Report readers, and in December, I received a couple of emails that I want to share with you because they give you more information and make your work easier.

The first email was from Mike Zdeb, from the University at Albany School of Public Health, Rensselaer, New York. He noted that the method used in a SAS Sample in the Tips & Techniques section (Counting the Number of Missing and Non-Missing Values for Each Variable in a Data Set) "seems overly complicated."

Zdeb wrote a paper for NESUG 2011 where he conquered this problem. He believes that his code is a lot easier to follow.  He says there are “none of those multiple ampersands: there are seven occurrences in the SAS support code. And the output is pretty nice too – the SAS code in the paper uses PROC FREQ just once and gets all of the counts in one pass." [The SAS support code makes multiple passes through PROC FREQ (once per variable).] 

The second email was also very helpful. It came from Mike O'Neil, Manager of the Data Warehouse for the Ministry of Social Development, Wellington, New Zealand. O'Neil wrote regarding Andrea Wainwright-Zimmerman's SAS Global Forum paper, While You Were Sleeping, SAS® Was Hard at Work .

“There are a number of techniques presented in this paper [that] are perfectly appropriate for a small organisation using SAS or a single SAS user managing their own workflow. For a large IT installation where there are dependencies on completion of non-SAS processing or other events such as file arrival, and where there is a considerable stream of SAS processing that has its own set of dependencies, the techniques described do not scale. 

The ability to re-start processing part way through a processing stream of many tasks, or place some job streams on hold because of a failure elsewhere, is an important part of production control.


We are a large Unix-based IT shop where more than 60 percent of the entire IO on the disk arrays is generated by data warehouse processing or user processes accessing the warehouse data, and we use Control-M to schedule more than 500 processing tasks, most of which run daily. Our biggest headache is user-processing scheduled by them using the Unix ‘at’ command. We encourage users to use Control-M as soon as they know the job will run regularly.

The techniques described in this paper can be improved to make them more 'fit for IT.' SAS users and Administrators at sites need to be aware that these techniques do not scale."

Thank you Mike and Mike, this is great information. If you have information like this, please send it to me to share with our SAS colleagues.

Waynette Tubbs
Editor, SAS Tech Report
What's New
SAS Log Error Checking Tool is Available for Download »
This tool allows users to easily examine and check any SAS log file for Error and Warning messages (and other messages) and to view SAS Usage Notes that are related to any of the messages that were found.
NEW: SAS Utilities Users Group »
A user's group is an excellent way to help you meet other SAS users in your industry or area, learn valuable SAS tips and make connections. Membership in the SAS Utilities Users Group (SUUG) is open to all SAS users in the utilities industry. Join today!
What Do You Think About the Software Product Pages? »
The Software Product pages provide a starting point for information related to a particular product: news, documentation, training, usage notes, samples and discussion forums. Quick links to installation information and focus areas are also provided. Please answer our five question survey and let us know what you think.
‘Solve Eight Queens Puzzle with SAS® Macro’ »
Inspired by the examples in The Little SAS Book, Jian Dai wrote his WUSS 2011 paper to show that SAS is the perfect language for complex, sophisticated problems. "We will describe how SAS is a perfect language to handle complicated data structure, and how easy implementing sophisticated algorithms becomes." Read other WUSS 2011 papers here.
Creating Customized Patient Profiles using SAS® ODS RTF and PROC TEMPLATE »
Andrea Ritter, Quintiles, Morrisville, NC, won Best Paper in Technical Techniques at PharmaSUG 2011 by presenting this example for producing patient profiles using SAS PROC TEMPLATE table definitions and the Output Delivery System (ODS) with the DATA step.  Who will win Best Paper in 2012? You could be there to find out. Registration opens Feb. 6.
Tips & Techniques
Download the SAS/GRAPH Dashboard Samples Package »
This page has a collection of sample codes that have been gathered into a single download package, including a slider chart indicator and dashboard, bullet graph indicator and dashboard, dial meter indicator and dashboard, bar chart indicator and dashboard, and telesales and web marketing analysis dashboards.
How to Check for the Existence of an Environment Variable »
This macro uses the UNIX command ENV in a FILENAME PIPE along with various other SAS functions to retrieve a list of all environment variables. The list is checked against the environment variable passed to the macro. If the variable is found, the word yes is returned. If the variable is not found, the word no is returned.
How to Define a Library for Use with SAS Marketing Automation Exports »
SAS Marketing Automation requires you to define the libraries that you use in your export definitions. This Note gives the two ways for defining a library SAS Marketing Automation 5.1 and earlier, and includes instructions for version 5.3.
Create a User-Defined Function to Convert Inches to Centimeters »
Use PROC FCMP to create a function that converts from inches to centimeters, centimeters to inches or missing if values passed are invalid. (Also includes a link to a user-written SAS Global Forum paper about the procedure.)
Webcasts & Events

Project Organization Proposal and Project Leadership Plan
Feb. 6

IFSUG Summit
Mar 4-6
Cary, NC
Call for paper deadline Jan 31!

PharmaSUG 2011
May 8-11
Nashville, TN
Registration is open!  

SAS Global
Forum 2012

April 22-25
Orlando, FL
Registration open! 
SAS Users Connecting
SAS Training & Certification: Queries?
SAS Training provides tips and information in so many places: Facebook, SAS Training Report, The SAS Training Post blog and the Web. Now, check out the LinkedIn Group – it's a great place to ask for help and to learn from other SAS users.
sasCommunity.org Tip of the Day »

Did you know that you can read SAS data sets that were FTP-ed from other operating systems and are in still in a different data representation than that of your host computer? See Tip of the Day submitted by Michael A. Raithel.


Training
SAS Video Tip »
Are you or one of your colleagues wondering which SAS training course to take first?  SAS instructor Stacey Syphus explains how to make the best first course training decision for you in this short video tip.
SAS Resources
Statistical Programming in SAS »
Data analyst and SAS user Christine Leonard Westgate says in her review of the book, "For programmer-analysts tasked with statistics, statisticians tasked with programming, and for everyone in between--this book is a winner!" You can also read a great review in this tip published from the book.
Quick Clicks

Tech Support »

SAS Global Forum »

Users Groups »

sasCommunity.org »

SAS Focus Areas »

SAS Samples »

Discussion Forums »

Key Happenings in SAS Online Support »
Support
Technical Support
E-newsletter Archives »
Technical Problems »
E-mail Address Changes »
Don't miss important updates from SAS! Please add sas.com as a domain
in your safe sender list.
Your Subscription
We hope that you enjoyed reading this e-newsletter. However, if you would rather not receive SAS e-newsletters in the future, return to our e-newsletter subscriptions site to log in and edit the subscription options in your profile.
 
Privacy Statement


To contact SAS via postal mail: SAS, SAS Campus Drive, Cary NC 27513 USA. ATTN: Legal Division/Privacy Manager.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks
of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and
product names are trademarks of their respective companies.

Copyright © SAS Institute Inc. All rights reserved.