Main Page

From sasCommunity
Jump to: navigation, search

Welcome to

A collaborative online community for SAS® users worldwide. is an ongoing global community effort—created by SAS users for SAS users. This site is a place to find answers, share technical knowledge, collaborate on ideas and connect with others in the worldwide SAS Community. Get started now by creating a UserID.

Follow Us
For daily SAS Tips, Web updates & more.

sasCommunity Tip of the Day

Did you know that on Unix platforms, you can automatically assign all Unix environment variables to SAS macro variables by adding these lines of code to your

/* Make macro variables from all environment variables */
filename set_list pipe "set";
data work.envvars;
    length name $255;
    length value $32512;
    infile set_list DLM='=' MISSOVER lrecl=32767;
    input name $ value $;
    if name ^= "'" then do;
        call symputx(name,value);

This is very useful in situations where you need to allow your business clients to set their own default macro variables; while at the same time limiting the number of people who can modify anything under your !SASROOT. Variable length shown above can be made smaller as needed.

More about file pipes

More about SYMPUT

Submitted by Darrel Cusey. Contact me at my Discussion Page.

This technique also works in Windows environments since the 'set' command is also valid under Windows.

Feel free to comment on this tip.

Prior tip - Next tip -- Random Tip

Submit a Tip

Check out the Tip of the Day page for details about this effort.

What's New

2017 Green Thumb Award Announced

May 2, 2017

2017 Green Thumb Award

Congratulations Paul Kaefer

Scholarships Available for Regional Conferences

May 8, 2017


Conference scholarships and grants for students, faculty and professionals
Calling all students, faculty and professionals who are users of SAS®! Did you know scholarships and grants are available to attend the regional users conferences? Check out the benefits of applying, and don’t miss out on these opportunities! Scholarship and grant benefits can include but are not limited to:

  • Reduced or waived registration fee.
  • Travel stipend.
  • Free or reduced lodging.
  • And more!

Student scholarships are available to full-time, degree-seeking college students using SAS in their coursework or research. Note the application deadlines below:

Professional scholarships are available to full-time professionals who have been using SAS for three years or less in daily work. Note the application deadlines below:

Faculty scholarships are available to faculty members who use SAS in teaching or research. Note the application deadlines below:

Want to get connected with other SAS users? Then join the new SAS Users Groups Community today! Subscribe now to get up to date information about each regional users group conference.

Who is Contributing to sasCommunity

Apr 17, 2014
Check out the User Contribution Scores page to see who is contributing content or editing content on sasCommunity.

Browse the history of What's New announcements.








Join Get Involved Sasopedia Events User Groups
9,350 UserIds have been created on!