<?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 Set Column Names to UpperCase in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/170892#M40117</link>
    <description>&lt;P&gt;I am trying to set all the Column Names to uppercase.&amp;nbsp; I have tried the below but it just changes the list to uppercase not the columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col_name_list = dt3 &amp;lt;&amp;lt; get column names(string);
for (i = 1, i &amp;lt;= nitems(col_name_list), i++,
col_name_list[i] = uppercase(col_name_list[i]);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do I need to do to change all of my column names to uppercase?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 16:08:49 GMT</pubDate>
    <dc:creator>wjalford</dc:creator>
    <dc:date>2019-02-26T16:08:49Z</dc:date>
    <item>
      <title>Set Column Names to UpperCase</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/170892#M40117</link>
      <description>&lt;P&gt;I am trying to set all the Column Names to uppercase.&amp;nbsp; I have tried the below but it just changes the list to uppercase not the columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col_name_list = dt3 &amp;lt;&amp;lt; get column names(string);
for (i = 1, i &amp;lt;= nitems(col_name_list), i++,
col_name_list[i] = uppercase(col_name_list[i]);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do I need to do to change all of my column names to uppercase?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 16:08:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/170892#M40117</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-02-26T16:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Column Names to UpperCase</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/170925#M40118</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13710"&gt;@wjalford&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Try this ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

CurrentCols = dt &amp;lt;&amp;lt; Get Column Names("String"); 
Show(CurrentCols); 

for(i = 1, i &amp;lt;= N Items(CurrentCols) , i++,
	Column(dt,i) &amp;lt;&amp;lt; Set Name(Uppercase(CurrentCols[i]));
   );&lt;BR /&gt;&lt;BR /&gt;NewCols&amp;nbsp;=&amp;nbsp;dt&amp;nbsp;&amp;lt;&amp;lt; Get&amp;nbsp;Column&amp;nbsp;Names("String");&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Show(NewCols);&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You are going on the right track, the thing that you needed to add was the ability to set the column names in the table back to your new column names.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 17:33:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/170925#M40118</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2019-02-25T17:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Column Names to UpperCase</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/182576#M40272</link>
      <description>&lt;P&gt;Worked great.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 14:35:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Column-Names-to-UpperCase/m-p/182576#M40272</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-03-03T14:35:54Z</dc:date>
    </item>
  </channel>
</rss>

