Main Page

From sasCommunity
Jump to: navigation, search

Welcome to sasCommunity.org

A collaborative online community for SAS® users worldwide.

sasCommunity.org 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

Have you ever needed to know if a given variable is in a SAS data set? This macro returns 1 if a variable exists in a data set, 0 if not.

%macro VarExist(ds,var);
	%local rc dsid result;
	%let dsid=%sysfunc(open(&ds));
	%if %sysfunc(varnum(&dsid,&var)) > 0 %then %do;
		%let result=1;
		%put NOTE: Var &var exists in &ds;
	%end;
	%else %do;
		%let result=0;
		%put NOTE: Var &var not exists in &ds;
	%end;
	%let rc=%sysfunc(close(&dsid));
	&result
%mend VarExist;
 
/* Usage */
%put %VarExist(sashelp.class,name);
%put %VarExist(sashelp.class,aaa);


Submitted by Adrien VALLEE. Contact me at my Discussion Page.



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

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. The top 25 contributors for:

  • the last 7 days
  • the last 30 days
  • all time

are listed in sortable tables.

Presenters: Create Your Papers and Presentations Index Page

Feb 28, 2014                                       Click Expand to View Full Article

sasCommunity.org is happy to announce a new feature/service for presenters and audience members. You can continue the discussion online after the presentation. By creating articles for your presentations, you can easily:

Let's continue the discussion
  • upload or create links to your paper
  • share your code
  • share your sample data
  • share your PowerPoint presentation
  • provide presentation updates
  • create a space to continue the discussion of the topic of your presentation
  • stay in contact with colleagues, even if your name or email address change
  • get more exposure with category tags
  • and more.

These new features make it even easier for you to share your presentation materials. We have added facilities to allow you to create articles about your papers for this and previous conferences. Now there is an easy way for you to have a single Presenters page that serves as an index for all of your presentations at SAS Global Forum, Regionals, Local User Groups, and more.

</p>

We at sasCommunity.org are here to help you publicize your presenter pages. For SGF 2014 presenters creating a presentation page by Monday, March 17th, we will provide:

  • a set of stickers containing your presentation page address and QR code for you to pass out at the conference
  • a display in the demo room publicizing the site and including a handout with links to presenter pages
  • PowerPoint slide template that you can use in your presentation to publicize your presenter page

We look forward to your page creations. Let’s continue the discussion on sasCommunity.org! Please feel free to contact us if there is anything that we can do to help you.

Sincerely,

The sasCommunity.org Advisory Board



Browse the history of What's New announcements.



Blogs

 

Content

 

Tips

 

Forums



Join sasCommunity.org Get Involved Sasopedia Events User Groups
7,705 UserIds have been created on sasCommunity.org!