another header





News and Technical Info
From the NorthEast SAS Users Group
September 2007
In This Issue  

Quick Links  

Join our list  
Join our mailing list!

Greetings!

Here's the latest news about the 2007 NESUG Annual Conference and a technical tip to help save you time.

If there are topics you'd like us to address in future issues, please e-mail us . We want to hear from you!

Rick Mitchell and Christianna Williams- Conference Co-Chairs

Register for NESUG 2007 Now and SAVE
 
Don't miss the best value in SAS training!
2007 Conference Logo

The 2007 NESUG Annual Conference has something for SAS programmers at every level, in every field. We've planned 2-1/2 jam-packed days of presentations and hands-on workshops from November 11 - 14 in historic Baltimore, Md.

Here are just a few highlights from the program:

Understanding Why Your Macros Don't Work
Cynthia Zender from SAS Institute will give a Sunday Workshop explaining why macro variables you thought would resolve don't, why you need an extra period (or four) after a macro variable reference, and other tips to simplify macro programming.

And Now, Presenting...
Presentations to help you turn results into powerful, easy-to-read displays, including:

1. Wow! You Did That Map with SAS/GRAPH?
2. SAS and Microsoft Office: Tales from the Trenches
3. Effective Forecast Visualization with SAS/GRAPH and ODS

Coder's Corner
Tips, tricks and novel ways of solving programming problems, including:

1. Conditional Lags Don't Have to Be Treacherous
2. The Power and the Trap of Automatic Retain
3. An RTF Document Index: Easier Than You Think

Hands-On Workshops
Presentations in which you'll work along with the instructor on a workshop computer, including:

1. A Tiptoe Through the Target Field
2. Geocoding and PROC GMAP - Tools for Presenting Spatial Data
3. An Introduction to SAS/GRAPH Step-by- Step

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 before September 21 at our low Early Registration rate and save $50.


Special 20th Anniversary Events at the 2007 NESUG Conference
 

We're celebrating our 20th anniversary with some special Conference activities you won't want to miss:

  • A special commemorative opening session
  • Keynote address by Kathy Council of SAS about the long and successful relationship between SAS and NESUG
  • A gala reception at the National Aquarium sponsored by SAS
  • A nostalgic display of NESUG memorabilia
  • A 20th anniversary problem solving contest


So Much to See in Baltimore!
 
Pretty Baltimore

Baltimore offers so many tourist delights, your biggest challenge will be deciding what to do first. Check out Dinosaur Mysteries and learn about the Chesapeake Bay area at the Maryland Science Center. Or take a tour of the U.S.S. Constellation and learn about her long history of service to the U.S. Navy.

You'll also enjoy fine dining, featuring famous Maryland blue crab, and a variety of nightly entertainment options.

Everything is easily accessible from the Renaissance Harbor Hotel, the official conference hotel. Be sure to reserve your room by October 18th to get the special NESUG Conference rate.

The NESUG website has links to some of the most popular Baltimore attractions, as well as detailed information on the conference hotel.


Tech Notes
 
CALL EXECUTE: always use with %nrstr - by Ron Fehd
Ron Fehd

Ron Fehd has been presenting at NESUG for many years and he'll be with us again this year. We can always rely on him for helpful information and we can usually spot him wearing his signature purple hat. Here is a tip from him about using CALL EXECUTE with % nrstr.

The call routine Execute is used to submit statements. Its arguments can be text strings or variable values.

It replaces the process of writing statements to a file, then %including them.

Example, Write to File, then Include:

Filename TempText 'tempfile.txt';
Data _Null_;
file TempText;
put '*comment;';
stop;
run;
%Include TempText;

The syntax of call execute is:

* string: call execute('*comment;');

* character variable:
Stmnt = '*comment;';
call execute(Stmnt);

Caveat: sas and macro statements are different!

When a macro contains complexity, that is, any macro statements which accesses or creates macro variables, such as %if, %do, or call symput, then the macro will not resolve correctly.

Solution: use macro function No Rescan String: %nrstr

Data _Null_;
attrib Stmnt length = $72;
do until(EndoFile);
set MyListProccesingDataSet
end = EndoFile;
%*make statement:;
call execute(cats('%nrstr(',Stmnt,')'));
end; %*do until(EndoFile);
stop;
run; %*calls executed in this step;
run;

sgf2007.113 provides examples which illustrate the timing error.

nesug2007.CC12 provides working examples of using call execute to call

either parameterized includes or macros.

References:

sgf2007.113: List Processing Basics: Creating and Using Lists of Macro Variables Ronald J. Fehd and Art Carpenter

nesug2007.CC12 Writing Testing-Aware Programs that Self-Report when Options are True Ronald J. Fehd


From the Co-Chairs
 
Christianna-Rick

As you make your plans to attend the 2007 NESUG Annual Conference, please remember that volunteers make it possible for us to offer this tremendous training opportunity at such a low cost. Please volunteer to work for a couple of hours. It's a great way to meet people and it's fun.

Volunteer Coordinator Michael Davis would love to have your help, so e-mail him today and sign up.

We look forward to seeing you in Baltimore in November!

Christianna Williams and Rick Mitchell



We'll send you more details on the 2007 NESUG Annual Conference over the next few months. If you have questions in the meantime, visit the website at www.nesug.org.

Sincerely,


Christianna Williams and Rick Mitchell - Conference Co-Chairs
NorthEast SAS Users Group (NESUG)

Email Marketing by