<?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: how to represent variables starting with same word in a single variable in SAS 9.3 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151046#M29795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats interesting I would have thought it was the other way around ... I thought the colon abbreviation is relative new addition to the code base like in version 9.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the colon shortcut all the time in 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 13:21:02 GMT</pubDate>
    <dc:creator>esjackso</dc:creator>
    <dc:date>2013-11-21T13:21:02Z</dc:date>
    <item>
      <title>how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151042#M29791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;In our project we have a variable starting with Wk_1 to Wk_100.&lt;/P&gt;&lt;P&gt;We have to represent it in a single variable in a data step. we have to read all the variables that starts with Wk&lt;/P&gt;&lt;P&gt;Our code goes like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data test1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set test2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;keep col1 col2 Wk_:;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine in SAS 9.1.3 but it throws error in SAS 9.3&lt;/P&gt;&lt;P&gt;Could anyone suggest an alternative for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 06:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151042#M29791</guid>
      <dc:creator>Ragesh</dc:creator>
      <dc:date>2013-11-21T06:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151043#M29792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Example 3 in this paper may help you to find your answer : &lt;A href="http://www.nesug.org/Proceedings/nesug12/bb/bb14.pdf"&gt;Use the Full Power of SAS® in Your Function-Style Macros&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 10:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151043#M29792</guid>
      <dc:creator>MohammadFayaz</dc:creator>
      <dc:date>2013-11-21T10:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151044#M29793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax looks correct.&amp;nbsp; What is the error? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151044#M29793</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-11-21T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151045#M29794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variables are not getting resolved in SAS 9.3&lt;/P&gt;&lt;P&gt;It is getting resolved in SAS 9.1.3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151045#M29794</guid>
      <dc:creator>Ragesh</dc:creator>
      <dc:date>2013-11-21T13:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151046#M29795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats interesting I would have thought it was the other way around ... I thought the colon abbreviation is relative new addition to the code base like in version 9.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the colon shortcut all the time in 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151046#M29795</guid>
      <dc:creator>esjackso</dc:creator>
      <dc:date>2013-11-21T13:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151047#M29796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you have something that works in one version of SAS, but not in another version of SAS, your best resource is to open a track with Tech Support. The doc for SAS 9.3 references name prefix lists as being valid &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#p0wphcpsfgx6o7n1sjtqzizp1n39.htm" title="http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#p0wphcpsfgx6o7n1sjtqzizp1n39.htm"&gt;SAS(R) 9.3 Language Reference: Concepts, Second Edition&lt;/A&gt; and so, Tech Support has both versions (9.1.3 and 9.3) in which to test your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, you can go to support.sas.com and click on the link for "Submit a Problem" on the left hand navigation pane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 14:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151047#M29796</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-11-21T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to represent variables starting with same word in a single variable in SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151048#M29797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you didn't show the error message.&amp;nbsp; "not getting resolved" is not an error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 14:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-represent-variables-starting-with-same-word-in-a-single/m-p/151048#M29797</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-11-21T14:16:30Z</dc:date>
    </item>
  </channel>
</rss>

