<?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: Inputting a module as a parameter to another module in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Inputting-a-module-as-a-parameter-to-another-module/m-p/91729#M577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS/IML Studio, you can use the ALIAS statement to achieve this.&amp;nbsp; I discuss how to do it on p. 117 of my book &lt;EM&gt;Statistical Programming with SAS/IML Software&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;In PROC IML, use CALL EXECUTE and read the chapter "&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/viewer.htm#genstmts_toc.htm"&gt;Using SAS/IML Software to Generate&amp;nbsp; SAS/IML Statements&lt;/A&gt;."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Apr 2012 18:58:55 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2012-04-22T18:58:55Z</dc:date>
    <item>
      <title>Inputting a module as a parameter to another module</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Inputting-a-module-as-a-parameter-to-another-module/m-p/91728#M576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS/IML, I have two modules, defined as follows:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&lt;CODE&gt;START module1 (n); PRINT n; FINISH module1; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&lt;CODE&gt;START module2 (action, n); RUN action(n); FINISH module2; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I want to run module2 as follows:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&lt;CODE&gt;RUN module2(module1,5); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SAS returns an error with this - it says that it cannot find the &lt;CODE&gt;action&lt;/CODE&gt; module. I want it to interpret this as I would expect &lt;CODE&gt;R&lt;/CODE&gt; to interpret this, like so:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&lt;CODE&gt;RUN module1(n); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is it possible in SAS/IML, or is this a limitation of the software?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2012 14:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Inputting-a-module-as-a-parameter-to-another-module/m-p/91728#M576</guid>
      <dc:creator>JonMondalson</dc:creator>
      <dc:date>2012-04-22T14:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inputting a module as a parameter to another module</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Inputting-a-module-as-a-parameter-to-another-module/m-p/91729#M577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS/IML Studio, you can use the ALIAS statement to achieve this.&amp;nbsp; I discuss how to do it on p. 117 of my book &lt;EM&gt;Statistical Programming with SAS/IML Software&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;In PROC IML, use CALL EXECUTE and read the chapter "&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/viewer.htm#genstmts_toc.htm"&gt;Using SAS/IML Software to Generate&amp;nbsp; SAS/IML Statements&lt;/A&gt;."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2012 18:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Inputting-a-module-as-a-parameter-to-another-module/m-p/91729#M577</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-22T18:58:55Z</dc:date>
    </item>
  </channel>
</rss>

