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


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


Difference between revisions of "Tips:Determine the Location of the Executing Program"

From sasCommunity
Jump to: navigation, search
m
m
Line 13: Line 13:
 
-->
 
-->
 
{{ExternalReadMore|http://www2.sas.com/proceedings/forum2008/023-2008.pdf}}
 
{{ExternalReadMore|http://www2.sas.com/proceedings/forum2008/023-2008.pdf}}
 +
<noinclude>
 
[[Category:Environmental Variables]]
 
[[Category:Environmental Variables]]
 +
</noinclude>
 
<!-- Please do not edit below this line, EXCEPT when promoting a tip -->
 
<!-- Please do not edit below this line, EXCEPT when promoting a tip -->
 
<div style="float:right">Submitted By [[User:ArtCarpenter|Art Carpenter]]</div>
 
<div style="float:right">Submitted By [[User:ArtCarpenter|Art Carpenter]]</div>

Revision as of 21:31, 22 April 2014

It is possible to determine the physical location of the program executing in the Enhanced Editor by examining one or more environmental variables. The !SAS_EXECFILENAME and the !SAS_EXECFILEPATH environmental variables are especially helpful. The paper cited in the see also link has example code.


....see also

Submitted By Art Carpenter