<?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 ERROR: (execution) Matrix has not been set to a value. in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/346941#M3386</link>
    <description>&lt;P&gt;Im executing below code in SAS PC and getting an error like "ERROR: (execution) Matrix has not been set to a value."&lt;/P&gt;&lt;P&gt;and the same code executed successfully in SAS STUDIO and SAS EG.&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options compress=no;&lt;/P&gt;&lt;P&gt;%let outputpath=%sysfunc(pathname(facc1,f));&lt;/P&gt;&lt;P&gt;%put outputpath=&amp;amp;outputpath;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DATA work.date;&lt;BR /&gt;INPUT percent country $40.;&lt;BR /&gt;CARDS;&lt;BR /&gt;10 US&lt;BR /&gt;12 UK&lt;BR /&gt;4 AUSTRALIA&lt;BR /&gt;16 GERMANY&lt;BR /&gt;8 FRANCE&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;BR /&gt;proc iml;&lt;/P&gt;&lt;P&gt;outputpath = "&amp;amp;outputpath";&lt;BR /&gt;submit outputpath / R;&lt;BR /&gt;# read in the sas7bdat created in above sas code (FILE INPUT)&lt;BR /&gt;#install.packages('sas7bdat')&lt;BR /&gt;library("sas7bdat", lib.loc="/usr/lib64/RRO-3.2.2/R-3.2.2/lib64/R/library")&lt;BR /&gt;df2 &amp;lt;- read.sas7bdat("date.sas7bdat")&lt;BR /&gt;write.csv(df2, "&amp;amp;outputpath/dater.csv", row.names = FALSE)&lt;BR /&gt;endsubmit;&lt;BR /&gt;quit;&lt;BR /&gt;endrsubmit;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 06:59:36 GMT</pubDate>
    <dc:creator>Rakesh21</dc:creator>
    <dc:date>2017-04-04T06:59:36Z</dc:date>
    <item>
      <title>ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/346941#M3386</link>
      <description>&lt;P&gt;Im executing below code in SAS PC and getting an error like "ERROR: (execution) Matrix has not been set to a value."&lt;/P&gt;&lt;P&gt;and the same code executed successfully in SAS STUDIO and SAS EG.&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options compress=no;&lt;/P&gt;&lt;P&gt;%let outputpath=%sysfunc(pathname(facc1,f));&lt;/P&gt;&lt;P&gt;%put outputpath=&amp;amp;outputpath;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DATA work.date;&lt;BR /&gt;INPUT percent country $40.;&lt;BR /&gt;CARDS;&lt;BR /&gt;10 US&lt;BR /&gt;12 UK&lt;BR /&gt;4 AUSTRALIA&lt;BR /&gt;16 GERMANY&lt;BR /&gt;8 FRANCE&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;BR /&gt;proc iml;&lt;/P&gt;&lt;P&gt;outputpath = "&amp;amp;outputpath";&lt;BR /&gt;submit outputpath / R;&lt;BR /&gt;# read in the sas7bdat created in above sas code (FILE INPUT)&lt;BR /&gt;#install.packages('sas7bdat')&lt;BR /&gt;library("sas7bdat", lib.loc="/usr/lib64/RRO-3.2.2/R-3.2.2/lib64/R/library")&lt;BR /&gt;df2 &amp;lt;- read.sas7bdat("date.sas7bdat")&lt;BR /&gt;write.csv(df2, "&amp;amp;outputpath/dater.csv", row.names = FALSE)&lt;BR /&gt;endsubmit;&lt;BR /&gt;quit;&lt;BR /&gt;endrsubmit;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 06:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/346941#M3386</guid>
      <dc:creator>Rakesh21</dc:creator>
      <dc:date>2017-04-04T06:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/346999#M3387</link>
      <description>&lt;P&gt;You say "The same code&amp;nbsp;&lt;SPAN&gt;executed successfully in SAS STUDIO and SAS EG." &amp;nbsp;Where are you running it now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If your goal is to transfer data from a SAS data set to an R data frame (and vice versa), you can use the&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/68150/HTML/default/viewer.htm#imlug_langref_sect129.htm" target="_self"&gt;EXPORTDATASETTOR subroutine&lt;/A&gt;&amp;nbsp;and the &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/68150/HTML/default/viewer.htm#imlug_langref_sect200.htm" target="_self"&gt;IMPORTDATASETFROMR subroutine.&lt;/A&gt;&amp;nbsp;There are examples at the linked-to doc pages.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 11:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/346999#M3387</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-04-04T11:07:14Z</dc:date>
    </item>
  </channel>
</rss>

