<?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: error (EXECUTION)invalid subscript or subscript out of....... in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613911#M4944</link>
    <description>thank you for your help</description>
    <pubDate>Thu, 26 Dec 2019 15:20:12 GMT</pubDate>
    <dc:creator>xiangzaier</dc:creator>
    <dc:date>2019-12-26T15:20:12Z</dc:date>
    <item>
      <title>error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613909#M4943</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; error (EXECUTION)invalid subscript or subscript out of.......&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 01:06:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613909#M4943</guid>
      <dc:creator>xiangzaier</dc:creator>
      <dc:date>2019-12-27T01:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613911#M4944</link>
      <description>thank you for your help</description>
      <pubDate>Thu, 26 Dec 2019 15:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613911#M4944</guid>
      <dc:creator>xiangzaier</dc:creator>
      <dc:date>2019-12-26T15:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613912#M4945</link>
      <description>the aim is to calculate robust reference interval and confidence interval of reference value(upper,lower)</description>
      <pubDate>Thu, 26 Dec 2019 15:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613912#M4945</guid>
      <dc:creator>xiangzaier</dc:creator>
      <dc:date>2019-12-26T15:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613914#M4946</link>
      <description>&lt;P&gt;Your matrices are a certain size, let's say nxk. If you have a subscript which refers to column k+1 or refers to row n+1, or refers to row or column &amp;lt;=0, you will get the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can debug this code by putting PRINT or SHOW commands in your code that will write to the log the actual sizes of the matrices and the values of subscripts used.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613914#M4946</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-26T15:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613915#M4947</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304797"&gt;@xiangzaier&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;thank you for your help&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is best practice to copy from the LOG the submitted code along with the error&amp;nbsp; message. Paste into a code box opened with the {I} or running man icon. Many times the position and other information in the log gives clues as the where the error occurs. So just the error message isn't quite as helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613915#M4947</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-26T15:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613975#M4948</link>
      <description>&lt;P&gt;Currently, you have the statements&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;	&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;n&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt;
		ui &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; ui&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;loc&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
	&lt;SPAN class="token keyword"&gt;else&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;n&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt;
		ui&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; ui&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/LI-CODE&gt;
&lt;P&gt;I suspect you meant to write&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;	&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;n&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt;
		ui &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; ui&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;loc&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;   /* &amp;lt;== CHANGE THIS LINE */&lt;/SPAN&gt;
	&lt;SPAN class="token keyword"&gt;else&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;flag&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;n&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt;
		ui&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; ui&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be aware that&lt;A href="https://blogs.sas.com/content/iml/2012/11/19/beware-the-naked-loc.html" target="_self"&gt; if no element of FLAG equals 1, then the LOC function returns an empty matrix.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;which would result in an error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 20:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613975#M4948</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-12-26T20:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613991#M4949</link>
      <description>thank you,the the col of s is 1000,but it still error,i will debug again</description>
      <pubDate>Thu, 26 Dec 2019 22:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/613991#M4949</guid>
      <dc:creator>xiangzaier</dc:creator>
      <dc:date>2019-12-26T22:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: error (EXECUTION)invalid subscript or subscript out of.......</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/614002#M4950</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 01:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-EXECUTION-invalid-subscript-or-subscript-out-of/m-p/614002#M4950</guid>
      <dc:creator>xiangzaier</dc:creator>
      <dc:date>2019-12-27T01:11:02Z</dc:date>
    </item>
  </channel>
</rss>

