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
(add Category:Enhanced Editor; gardening)
 
Line 1: Line 1:
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.
+
It is possible to determine the physical location of the program executing in the Enhanced Editor by examining one or more environmental variables.  The <code>SAS_EXECFILENAME</code> and the <code>SAS_EXECFILEPATH</code> environmental variables are especially helpful. The paper cited in the see also link has example code.
<!-- Insert any appropriate category tags. Note that it is important to put the categorys inside the <noinclude> block so the categories are only applied to the tip page.
+
- You can have as many CATEGORY tag lines as you want.
+
-->
+
  
 +
{{ExternalReadMore|http://www2.sas.com/proceedings/forum2008/023-2008.pdf}}
  
 
<!-- Provide links to other resources:
 
- If the links are pages on sasCommunity update the "WikiReadMore" line and replace "PAGENAME" with the name of the sasCommunity.org page.
 
- If the links are external (e.g., the sas support site, other external links, and so on, updated the "External ReadMore" line and replace "URL" with the full url including the http:
 
- You can include as many of these lines as you want
 
- if you don't have such links, just delete the line(s)
 
-->
 
{{ExternalReadMore|http://www2.sas.com/proceedings/forum2008/023-2008.pdf}}
 
<noinclude>
 
[[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>
  
 
<noinclude>
 
<noinclude>
 +
[[Category:Environmental Variables]]
 +
[[Category:Enhanced Editor]]
 
[[Category:Tip in Use]]
 
[[Category:Tip in Use]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:30, 19 May 2017

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