<?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: Calling a SAS program from an Icon on a SAS/AF application in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17231#M2407</link>
    <description>Your question is off-topic for this forum, but ... will this do what you want?&lt;BR /&gt;
[pre]&lt;BR /&gt;
submit continue;&lt;BR /&gt;
  dm 'pgm; include c:\MyFolder\MyProgram.sas' pgm; &lt;BR /&gt;
endsubmit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
    <pubDate>Fri, 07 May 2010 15:15:02 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2010-05-07T15:15:02Z</dc:date>
    <item>
      <title>Calling a SAS program from an Icon on a SAS/AF application</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17230#M2406</link>
      <description>I am trying to figure out a way to call and display a saved base SAS program in the program editor from an icon on an AF frame.  Is there a way similar to how you can call an fsedit screen with CALL FSEDIT?  &lt;BR /&gt;
Thanks!</description>
      <pubDate>Thu, 06 May 2010 17:53:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17230#M2406</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-06T17:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a SAS program from an Icon on a SAS/AF application</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17231#M2407</link>
      <description>Your question is off-topic for this forum, but ... will this do what you want?&lt;BR /&gt;
[pre]&lt;BR /&gt;
submit continue;&lt;BR /&gt;
  dm 'pgm; include c:\MyFolder\MyProgram.sas' pgm; &lt;BR /&gt;
endsubmit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Fri, 07 May 2010 15:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17231#M2407</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-05-07T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a SAS program from an Icon on a SAS/AF application</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17232#M2408</link>
      <description>There is the PREVIEW function that can include an external SAS program. Check the online help for the full details, but you will need to do something like this in your SCL:&lt;BR /&gt;
&lt;BR /&gt;
rc = filename(fref,'c:\MyFolder\MyProgram.sas');&lt;BR /&gt;
rc = preview('include', fref);&lt;BR /&gt;
&lt;BR /&gt;
Then a submit continue step will execute the program:&lt;BR /&gt;
&lt;BR /&gt;
submit continue;&lt;BR /&gt;
endsubmit;&lt;BR /&gt;
&lt;BR /&gt;
PREVIEW also allows you to view the program prior to running it which can be useful.</description>
      <pubDate>Mon, 10 May 2010 22:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SAS-program-from-an-Icon-on-a-SAS-AF-application/m-p/17232#M2408</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-05-10T22:33:00Z</dc:date>
    </item>
  </channel>
</rss>

