Presentation is loading. Please wait.

Presentation is loading. Please wait.

TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management.

Similar presentations


Presentation on theme: "TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management."— Presentation transcript:

1 TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management

2 TASS Meeting Quickly Finding Project Code March 13th, 2009 My Window’s Desktop

3 TASS Meeting Quickly Finding Project Code March 13th, 2009 from window’s explorer right click on project folder   

4 TASS Meeting Quickly Finding Project Code March 13th, 2009 then, to access any project folder from SAS     

5 TASS Meeting Quickly Finding Project Code March 13th, 2009 from there, select the program you want to work with

6 TASS Meeting Quickly Finding Project Code March 13th, 2009 to change projects, just repeat the last two steps     

7 TASS Meeting Quickly Finding Project Code March 13th, 2009 Extra Benefits works from multiple instances of SAS doesn’t require any add-ins is totally managed by you

8 TASS Meeting Quickly Finding Project Code March 13th, 2009 Extra Benefit #4: Automatically assign libname %global path4sas; %macro setspath; %let path4sas = 'C:\My Documents\My SAS Files\V8'; data srt999; set sashelp.vextfl; if (substr(fileref,1,3)="#LN" and upcase(substr(reverse(trim(left(xpath))),1,3))="SAS" and upcase(substr(reverse(trim(left(xpath))),5,8))^="SAS4HTAP"); run; proc sort data=srt999; by descending fileref; run; data _null_; set srt999(obs=1); a=reverse(trim(left(xpath))); b='\'; c=index(a,b); path4sas=reverse(substr(reverse(trim(left(xpath))),c)); call symput('path4sas', trim(left(lowcase(path4sas)))); run; libname datapath "&path4sas."; %mend setspath ; %setspath data test; set datapath.test; run;

9 TASS Meeting Quickly Finding Project Code March 13th, 2009 Questions? Your comments and questions are valued and encouraged. Contact the author: Dr. Arthur Tabachneck Director, Data Management Insurance Bureau of Canada Toronto, Ontario L3T 5K9 Email: atabachneck@ibc.ca


Download ppt "TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management."

Similar presentations


Ads by Google