As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Main Page Test

From sasCommunity
Jump to: navigation, search
banner_text.gif banner_image.jpg

Welcome to! - 2012 Conference Chair


Requests for Applications for the SAS Global Forum 2012 Conference Chair now being accepted. Read more ...

Announcing - registration is NOW OPEN for SAS Global Forum 2009.

See the archive of prior Main Page articles.

sasCommunity Tip of the Day

If you know a libref or fileref, the PATHNAME function can be used to return the physical location. In the following %LET statement the path for the libref SASCLASS will be stored in the macro variable &LOC.

libname sasclass 'c:\training\basics';
%let loc = %sysfunc(pathname(sasclass)); 

If the libref refers to more than one physical location, all of those locations will be returned, in quotes, separated by spaces, with the whole list in parentheses:

1    %put %sysfunc(pathname(sashelp));
( 'C:\Program Files\SAS\SAS 9.1\nls\en\SASCFG' 'C:\Program Files\SAS\SAS 9.1\core\sashelp'
'C:\Program Files\SAS\SAS 9.1\af\sashelp' 'C:\Program Files\SAS\SAS 9.1\assist\sashelp'
'C:\Program Files\SAS\SAS 9.1\connect\sashelp' 'C:\Program Files\SAS\SAS 9.1\eis\sashelp'
'C:\Program Files\SAS\SAS 9.1\ets\sashelp' 'C:\Program Files\SAS\SAS 9.1\graph\sashelp'
'C:\Program Files\SAS\SAS 9.1\iml\sashelp' 'C:\Program Files\SAS\SAS 9.1\insight\sashelp'
'C:\Program Files\SAS\SAS 9.1\lab\sashelp' 'C:\Program Files\SAS\SAS 9.1\or\sashelp' 'C:\Program
Files\SAS\SAS 9.1\qc\sashelp' 'C:\Program Files\SAS\SAS 9.1\stat\sashelp' 'C:\Program
Files\SAS\SAS 9.1\tmine\sashelp' )

Submitted by Art Carpenter. Contact me at my Discussion Page.

Feel free to comment on this tip.

Prior tip - Next tip -- Random Tip

Submit a Tip

Join Get Involved Sasopedia Events User Groups

View the web-site usage statistics and the definition of terms used in that report.