<?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: invalid series of macro variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732082#M228101</link>
    <description>&lt;P&gt;Look closely at this -&amp;nbsp;eplnkgtyp1_l - looks like you have suffixed your starting macro variable with the letter "l" not the digit "1".&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 20:19:09 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-04-07T20:19:09Z</dc:date>
    <item>
      <title>invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732080#M228100</link>
      <description>&lt;P&gt;Greetings SAS Community -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using 9.4 I am attempting to create a sequence of macro variables using PROC SQL and SELECT, INTO. I have successfully done the same numerous times in the past without problems. However, using the code below I am encountering the following in my log:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;WARNING: INTO Clause :eplnkgtyp1_l through :eplnkgtyp1_88 does not specify a valid sequence of macro variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;WARNING: INTO Clause :eplnkgtyp2_l through :eplnkgtyp2_88 does not specify a valid sequence of macro variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;WARNING: INTO Clause :eplnkgnd1_l through :eplnkgnd1_88 does not specify a valid sequence of macro variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;WARNING: INTO Clause :eplnkgnd2_l through :eplnkgnd2_88 does not specify a valid sequence of macro variables.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This, along with failure of my program to create the intended sequences of macro variables.&lt;/P&gt;&lt;PRE&gt;proc sql; select count(eplnk_1) into :eplnkcnt&lt;BR /&gt;from tbgms2.gms_all_&amp;amp;gmsdtaxprtdt._i5;&lt;BR /&gt;quit; %put &amp;amp;eplnkcnt;&lt;BR /&gt;%let eplnkscnt=%cmpres(&amp;amp;eplnkcnt); %put &amp;amp;eplnkcnt &amp;amp;eplnkscnt;&lt;BR /&gt;&lt;BR /&gt;proc sql; select eplnkgtyp_1, eplnkgtyp_2, eplnkgnd_1, eplnkgnd_2 into&lt;BR /&gt;:eplnkgtyp1_l-:eplnkgtyp1_&amp;amp;eplnkscnt, :eplnkgtyp2_l-:eplnkgtyp2_&amp;amp;eplnkscnt,&lt;BR /&gt;:eplnkgnd1_l-:eplnkgnd1_&amp;amp;eplnkscnt, :eplnkgnd2_l-:eplnkgnd2_&amp;amp;eplnkscnt&lt;BR /&gt;from tbgms2.gms_all_&amp;amp;gmsdtaxprtdt._i5&lt;BR /&gt;where eplnk_1 ne ''&lt;BR /&gt;order by eplnk_1, eplnk_2;&lt;BR /&gt;quit;&lt;/PRE&gt;&lt;P&gt;All values of my SELECT variables are non-missing. EPLNK_1 and EPLNK_2 are reference identifiers for the data record in the subset of data I am querying (n=88). My series is required to be ordered as such, because each macro value in the series much be called in order of these identifiers.&amp;nbsp; &amp;nbsp;Researching otherwise I have only found reference to this problem when case of the series naming is not consistent. This clearly is not the case here. I have also tried renaming my series variables, and trying with only a single SELECT variable and INTO series, all to no avail. I do not see how my code could otherwise violate any other SAS conventions (e.g. variable name length). If any of you have a clue where I am going wrong I would much appreciate your assist. Thanks and cheers to all - Shawn&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732080#M228100</guid>
      <dc:creator>PNWSkibum</dc:creator>
      <dc:date>2021-04-07T20:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732082#M228101</link>
      <description>&lt;P&gt;Look closely at this -&amp;nbsp;eplnkgtyp1_l - looks like you have suffixed your starting macro variable with the letter "l" not the digit "1".&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732082#M228101</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-04-07T20:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732100#M228112</link>
      <description>&lt;P&gt;Thanks much, and sorry for the bother. Looks like its time to get my contact lens script updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 21:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732100#M228112</guid>
      <dc:creator>PNWSkibum</dc:creator>
      <dc:date>2021-04-07T21:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732103#M228113</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/377278"&gt;@PNWSkibum&lt;/a&gt;&amp;nbsp; - LOL, please update this post as answered in that case.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 22:03:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732103#M228113</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-04-07T22:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732105#M228115</link>
      <description>Something like this was how I knew I needed glasses in the first place &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Wed, 07 Apr 2021 22:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732105#M228115</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-07T22:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: invalid series of macro variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732111#M228120</link>
      <description>&lt;P&gt;There's an advert series that runs over here where a character does something really stupid because they couldn't see properly. The punchline is - Should have gone to Specsavers&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 23:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/invalid-series-of-macro-variables/m-p/732111#M228120</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-04-07T23:16:44Z</dc:date>
    </item>
  </channel>
</rss>

