<?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 Uppercase/Lowercase Help in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901597#M40188</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code below, I am looking to make the 'adult_pop' variable name capital (ADULT_POP) and make the observations that are within the COUNTY variable proper case. I have tried everything I can think of, so I'm looking for a fresh and more experienced set of eyes. Thanks for any insight!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA WORK.Illus;
   MERGE CoImpt.PhysicalActivity CoImpt.Geo_Reference_Table;
   KEEP FIPS COUNTY TRACT_NAME adult_pop;
   
   RUN;&lt;/PRE&gt;</description>
    <pubDate>Sun, 05 Nov 2023 00:12:23 GMT</pubDate>
    <dc:creator>BLT2023</dc:creator>
    <dc:date>2023-11-05T00:12:23Z</dc:date>
    <item>
      <title>Uppercase/Lowercase Help</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901597#M40188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code below, I am looking to make the 'adult_pop' variable name capital (ADULT_POP) and make the observations that are within the COUNTY variable proper case. I have tried everything I can think of, so I'm looking for a fresh and more experienced set of eyes. Thanks for any insight!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA WORK.Illus;
   MERGE CoImpt.PhysicalActivity CoImpt.Geo_Reference_Table;
   KEEP FIPS COUNTY TRACT_NAME adult_pop;
   
   RUN;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Nov 2023 00:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901597#M40188</guid>
      <dc:creator>BLT2023</dc:creator>
      <dc:date>2023-11-05T00:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Uppercase/Lowercase Help</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901609#M40192</link>
      <description>&lt;P&gt;SAS is case insensitive with regards to names of datasets, variables and other objects, so the casing is irrelevant.&lt;/P&gt;
&lt;P&gt;Dataset names are kept internally as all uppercase, while the physical filenames are all lowercase.&lt;/P&gt;
&lt;P&gt;Only variable names are kept in the casing they were entered.&lt;/P&gt;
&lt;P&gt;If you want something special, put it in a label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try if a RENAME works:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.illus;
merge
  coImpt.physicalactivity
  coImpt.geo_reference_table
;
keep FIPS COUNTY TRACT_NAME adult_pop;
rename adult_pop=ADULT_POP;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Nov 2023 07:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901609#M40192</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-11-05T07:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Uppercase/Lowercase Help</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901612#M40194</link>
      <description>A two step fix:&lt;BR /&gt;&lt;BR /&gt;First, change the order of the statements.  Move the KEEP statement to before the MERGE statement.&lt;BR /&gt;&lt;BR /&gt;Second, change the spelling to all caps in the KEEP statement.&lt;BR /&gt;&lt;BR /&gt;As Kurt mentioned, the first mention of the variable determines the default (unlabeled) spelling used in reporting.</description>
      <pubDate>Sun, 05 Nov 2023 08:59:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901612#M40194</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2023-11-05T08:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Uppercase/Lowercase Help</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901613#M40195</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/454937"&gt;@BLT2023&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the code below, I am looking to make the 'adult_pop' variable name capital (ADULT_POP) and make the observations that are within the COUNTY variable proper case. I have tried everything I can think of, so I'm looking for a fresh and more experienced set of eyes.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why? Is it because you want upper case headings in a report or table that you will make use of? As always context is everything, we can offer better solutions if we knew WHY you are doing something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So yes, you can force SAS to make the variable name upper case, as explained by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;, but it simply isn't necessary, its extra work with little benefit, IMHO. Just because you can do something doesn't mean you should do that thing. Better, you might want to assign a label to the variable, in which case you can then make the label whatever case you want, and make it more readable, so instead of ADULT_POP, do your audience a favor and use actual English (not computerese) labels, such as the label "Adult Population" (or similar). In reporting procedures such as PROC PRINT, PROC TABULATE and PROC REPORT, the labels (in real English, not computerese) will be used and your audience will be grateful.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 14:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Uppercase-Lowercase-Help/m-p/901613#M40195</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-05T14:01:43Z</dc:date>
    </item>
  </channel>
</rss>

