<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding the execution path, advanced question? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69933#M20136</link>
    <description>My very small sample and limited testing shows that a FILEREF FLn where n is a number is used with "Submit with SAS 9.1"&lt;BR /&gt;
&lt;BR /&gt;
Use DICTIONARY.EXTFILES to get info.</description>
    <pubDate>Tue, 08 Sep 2009 11:57:17 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2009-09-08T11:57:17Z</dc:date>
    <item>
      <title>Finding the execution path, advanced question?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69932#M20135</link>
      <description>I managed to find how deal with finding the application's execution path when batch submitting and for running it straight from SAS (9.1.3 by the way), but there appears to be a third type of situation:&lt;BR /&gt;
&lt;BR /&gt;
When right-clicking the application-file you also get an option "Submit with SAS 9.1". When execution through this option neither SAS_EXECFILEPATH nor SYSIN will be used to store the execution path. &lt;BR /&gt;
(SYSPROCESSNAME indicates "DMS process" like with running it from SAS)&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to obtain the execution path even under these circumstances?

-changed title to clear things up-&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: RFLinnenbank</description>
      <pubDate>Tue, 08 Sep 2009 07:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69932#M20135</guid>
      <dc:creator>RFLinnenbank</dc:creator>
      <dc:date>2009-09-08T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the execution path, advanced question?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69933#M20136</link>
      <description>My very small sample and limited testing shows that a FILEREF FLn where n is a number is used with "Submit with SAS 9.1"&lt;BR /&gt;
&lt;BR /&gt;
Use DICTIONARY.EXTFILES to get info.</description>
      <pubDate>Tue, 08 Sep 2009 11:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69933#M20136</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2009-09-08T11:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the execution path, advanced question?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69934#M20137</link>
      <description>Thanks for the rapid response! I'll work this in as soon as I get the chance!</description>
      <pubDate>Tue, 08 Sep 2009 12:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69934#M20137</guid>
      <dc:creator>RFLinnenbank</dc:creator>
      <dc:date>2009-09-08T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the execution path, advanced question?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69935#M20138</link>
      <description>* Using SASHELP Views ( vextfl) to get the filename or pathname;&lt;BR /&gt;
&lt;BR /&gt;
*To get the filename only;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
set sashelp.vextfl(where=(upcase(xpath) like '%.SAS'));&lt;BR /&gt;
call symput('program', scan(xpath,-1,'\'));&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
*To get pathname;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
set sashelp.vextfl&lt;BR /&gt;
(where=(upcase(xpath) like '%.SAS'));&lt;BR /&gt;
call symput('progrm', xpath);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Read more at: &lt;A href="http://studysas.blogspot.com/2009/04/how-to-determine-executing-program-name.html" target="_blank"&gt;http://studysas.blogspot.com/2009/04/how-to-determine-executing-program-name.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Sarath</description>
      <pubDate>Tue, 08 Sep 2009 12:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-execution-path-advanced-question/m-p/69935#M20138</guid>
      <dc:creator>sarathannapareddy</dc:creator>
      <dc:date>2009-09-08T12:34:23Z</dc:date>
    </item>
  </channel>
</rss>

