<?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 select variables beginning with &amp;quot;A&amp;quot;? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831593#M328631</link>
    <description>&lt;P&gt;It sounds like you want the value of a specific variable, not "variables beginning with 'A' ".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The =: operator is a "begins with.&lt;/P&gt;
&lt;P&gt;So an example with a data set you should have available:&lt;/P&gt;
&lt;PRE&gt;proc print data=sashelp.class noobs;
   where name=:'A';
run;&lt;/PRE&gt;
&lt;P&gt;Prints just the records where the Name variable starts with 'A'.&lt;/P&gt;
&lt;P&gt;Or use in a data set option when indicating which data set you are using.&lt;/P&gt;
&lt;PRE&gt;proc print data=sashelp.class(where=( name=:'A')) noobs;
;
run;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Sep 2022 16:48:34 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-09-02T16:48:34Z</dc:date>
    <item>
      <title>How to select variables beginning with "A"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831590#M328629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table of codes that I'm trying to select a subset from. However, I can't seem to be able to pull this correctly. Any help will be greatly appreciated!&lt;/P&gt;&lt;P&gt;The table, named tbl_CODES, only has one field, named PROC_CD. However, there is a mix of codes, such as: A1000, A1001, B1000, B2000, 00005, 00003. How do I create a table based on tbl_CODES where PROC_CDs begin with the character "A" only?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831590#M328629</guid>
      <dc:creator>supersasnewbie</dc:creator>
      <dc:date>2022-09-02T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to select variables beginning with "A"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831591#M328630</link>
      <description>&lt;P&gt;Please show the code you have tried, and also any errors you see in the log.&amp;nbsp; If you have no errors but your code is not working, please describe how the results you are getting differ from what you want.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831591#M328630</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-02T16:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to select variables beginning with "A"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831593#M328631</link>
      <description>&lt;P&gt;It sounds like you want the value of a specific variable, not "variables beginning with 'A' ".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The =: operator is a "begins with.&lt;/P&gt;
&lt;P&gt;So an example with a data set you should have available:&lt;/P&gt;
&lt;PRE&gt;proc print data=sashelp.class noobs;
   where name=:'A';
run;&lt;/PRE&gt;
&lt;P&gt;Prints just the records where the Name variable starts with 'A'.&lt;/P&gt;
&lt;P&gt;Or use in a data set option when indicating which data set you are using.&lt;/P&gt;
&lt;PRE&gt;proc print data=sashelp.class(where=( name=:'A')) noobs;
;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-variables-beginning-with-quot-A-quot/m-p/831593#M328631</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-09-02T16:48:34Z</dc:date>
    </item>
  </channel>
</rss>

