<?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: &amp;quot; out of range&amp;quot;  warning in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69506#M19970</link>
    <description>Hi:&lt;BR /&gt;
  I believe that this post is related to these other posts???&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12810&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12810&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12801&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12801&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
 It might be better to refer people to these earlier posts so that some idea of the scope and size of the macro programs you are dealing with and what you are trying to debug is evident -- it is not a good idea to take macro code snippets out of context. &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sun, 06 Feb 2011 19:03:16 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-02-06T19:03:16Z</dc:date>
    <item>
      <title>" out of range"  warning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69504#M19968</link>
      <description>I am getting an out range error but my variable are less than 8 characters. Why?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
WARNING: Argument 2 to function GETVARN referenced by the %SYSFUNC or %QSYSFUNC macro function  is out of range.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
my code:&lt;BR /&gt;
&lt;BR /&gt;
%LET item&amp;amp;i.=%SYSFUNC(GETVARN(&amp;amp;dataQmatrix.,					     %SYSFUNC(VARNUM(&amp;amp;dataQmatrix.,&amp;amp;ordervar.))));</description>
      <pubDate>Sat, 05 Feb 2011 23:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69504#M19968</guid>
      <dc:creator>R_A_G_</dc:creator>
      <dc:date>2011-02-05T23:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: " out of range"  warning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69505#M19969</link>
      <description>The second arg of the GETVARN function is the variable number.  Assuming that the data set has been properly opened, and the DSID is valid (&amp;amp;DATAQMATRIX) then it is likely that the function VARNUM has been unable to return a valid variable number for the variable named in &amp;amp;ORDERVAR.  Make sure that &amp;amp;ORDERVAR has the correct variable name.</description>
      <pubDate>Sun, 06 Feb 2011 01:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69505#M19969</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2011-02-06T01:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: " out of range"  warning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69506#M19970</link>
      <description>Hi:&lt;BR /&gt;
  I believe that this post is related to these other posts???&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12810&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12810&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12801&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12801&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
 It might be better to refer people to these earlier posts so that some idea of the scope and size of the macro programs you are dealing with and what you are trying to debug is evident -- it is not a good idea to take macro code snippets out of context. &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sun, 06 Feb 2011 19:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69506#M19970</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-02-06T19:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: " out of range"  warning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69507#M19971</link>
      <description>Thanks Cynthia, but when I do put the whole code people,Scott, complain about the size of the macro &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Sun, 06 Feb 2011 19:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/quot-out-of-range-quot-warning/m-p/69507#M19971</guid>
      <dc:creator>R_A_G_</dc:creator>
      <dc:date>2011-02-06T19:40:38Z</dc:date>
    </item>
  </channel>
</rss>

