<?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 Shortcuts for writing out column-names in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Shortcuts-for-writing-out-column-names/m-p/743213#M232632</link>
    <description>&lt;P&gt;If I want to, for instance sum the columns named:&amp;nbsp;&lt;/P&gt;&lt;P&gt;CampingOther, CampingTent, CampingRV, CampingBackcountry.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The obvious thing to use is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sum(CampingOther, CampingTent, CampingRV, CampingBackcountry)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;However, I know the "faster way" to do it would be:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;sum(of Camping:)&lt;/PRE&gt;&lt;P&gt;Notice the usage of: ("of" and ":").&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone know:&amp;nbsp;&lt;BR /&gt;1. What to search for to find the documentation for this.&amp;nbsp;&lt;BR /&gt;2. I know (but don't remember the syntax) that there were similar commands such as:&amp;nbsp;&lt;BR /&gt;column1,column2, column3 could be written as column1-column3.&amp;nbsp;&lt;BR /&gt;Any documentation link where I can read about these kind of "simplifications"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 May 2021 12:41:48 GMT</pubDate>
    <dc:creator>SasStatistics</dc:creator>
    <dc:date>2021-05-23T12:41:48Z</dc:date>
    <item>
      <title>Shortcuts for writing out column-names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Shortcuts-for-writing-out-column-names/m-p/743213#M232632</link>
      <description>&lt;P&gt;If I want to, for instance sum the columns named:&amp;nbsp;&lt;/P&gt;&lt;P&gt;CampingOther, CampingTent, CampingRV, CampingBackcountry.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The obvious thing to use is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sum(CampingOther, CampingTent, CampingRV, CampingBackcountry)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;However, I know the "faster way" to do it would be:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;sum(of Camping:)&lt;/PRE&gt;&lt;P&gt;Notice the usage of: ("of" and ":").&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone know:&amp;nbsp;&lt;BR /&gt;1. What to search for to find the documentation for this.&amp;nbsp;&lt;BR /&gt;2. I know (but don't remember the syntax) that there were similar commands such as:&amp;nbsp;&lt;BR /&gt;column1,column2, column3 could be written as column1-column3.&amp;nbsp;&lt;BR /&gt;Any documentation link where I can read about these kind of "simplifications"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 12:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Shortcuts-for-writing-out-column-names/m-p/743213#M232632</guid>
      <dc:creator>SasStatistics</dc:creator>
      <dc:date>2021-05-23T12:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcuts for writing out column-names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Shortcuts-for-writing-out-column-names/m-p/743214#M232633</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381436"&gt;@SasStatistics&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These "shortcuts" can be found in the documentation under &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrcon/p0wphcpsfgx6o7n1sjtqzizp1n39.htm" target="_blank" rel="noopener"&gt;SAS Variable Lists&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrcon/n1t04bwpt1jkadn1a5mk35we2yif.htm" target="_blank" rel="noopener"&gt;The OF Operator with Functions and Variable Lists&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lepg/n056thbq7p4e64n1ekde7e5yur7a.htm" target="_blank" rel="noopener"&gt;Examples: Use Variable Lists&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 23 May 2021 13:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Shortcuts-for-writing-out-column-names/m-p/743214#M232633</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-05-23T13:11:22Z</dc:date>
    </item>
  </channel>
</rss>

