<?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 How to run\call one sas file from another file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162490#M42206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SAS world and wanted to know, how to run one SAS code file by calling it from another SAS code file. None of them are macro. I know one option is by %INCLUDE but wanted to see some better option where I can also pass on some variable values to called SAS file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 08:36:22 GMT</pubDate>
    <dc:creator>gauravkodmalwar</dc:creator>
    <dc:date>2015-02-11T08:36:22Z</dc:date>
    <item>
      <title>How to run\call one sas file from another file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162490#M42206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SAS world and wanted to know, how to run one SAS code file by calling it from another SAS code file. None of them are macro. I know one option is by %INCLUDE but wanted to see some better option where I can also pass on some variable values to called SAS file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 08:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162490#M42206</guid>
      <dc:creator>gauravkodmalwar</dc:creator>
      <dc:date>2015-02-11T08:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to run\call one sas file from another file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162491#M42207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%include is the method to use, and values for parametrization can be passed as macro variables. Macro variables are also the method how parameters are fed to stored processes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 08:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162491#M42207</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-11T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to run\call one sas file from another file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162492#M42208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you clarify the part about " better option where I can also pass on some variable values to called SAS file ".&amp;nbsp; The reason I ask is that SAS code files are text files.&amp;nbsp; Now in the additional step of the macro pre-processesor, all %include statements are replaced by the text found in the respective file.&amp;nbsp; Therefore it is the full text which is sent to the compiler, there are no "parameters" created/passed.&amp;nbsp; So please describe a bit more what your attempting to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%include is the best method to include other programs, though a cursory mention should be given to reading a file in an infile and then generating code from it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 09:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-run-call-one-sas-file-from-another-file/m-p/162492#M42208</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-02-11T09:57:54Z</dc:date>
    </item>
  </channel>
</rss>

