<?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: Change the tablename in a sas program to upper case in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940695#M369204</link>
    <description>&lt;P&gt;That would lead you to render to a plain text process problem.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
infile 'c:\temp\have.sas';
file 'c:\temp\want.sas';
input;
_infile_=prxchange('s/\b(\w+)\s*\.\s*(\w+)\b/\1.\U\2/',-1,_infile_);
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 25 Aug 2024 00:19:38 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-08-25T00:19:38Z</dc:date>
    <item>
      <title>Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940361#M369109</link>
      <description>I have multiple sas programs and i have to change the table names to uppercase . How to do that .&lt;BR /&gt;Can someone help me on this?</description>
      <pubDate>Wed, 21 Aug 2024 18:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940361#M369109</guid>
      <dc:creator>Shanthi123</dc:creator>
      <dc:date>2024-08-21T18:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940430#M369127</link>
      <description>What do you mean by "tablename"? All the names of SAS datasets?</description>
      <pubDate>Thu, 22 Aug 2024 02:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940430#M369127</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2024-08-22T02:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940433#M369128</link>
      <description>&lt;P&gt;Why? SAS only retains dataset/table case in SAS log source code. Pretty much everywhere else in SAS they are printed in uppercase. For example in SAS log notes, procedure output and in Enterprise Guide in the&amp;nbsp;Servers List.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On disk, SAS dataset/table filenames are displayed in lowercase regardless of case in SAS programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 03:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940433#M369128</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-08-22T03:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940435#M369129</link>
      <description>Yes names of sas datasets in the coding .&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2024 05:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940435#M369129</guid>
      <dc:creator>Shanthi123</dc:creator>
      <dc:date>2024-08-22T05:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940436#M369130</link>
      <description>Yes , but in sas coding when i use snowflake database if the dataset name is in lower case its not reading. If it is in upper case its able to read so i need to replace the dataset names to uppercase.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2024 05:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940436#M369130</guid>
      <dc:creator>Shanthi123</dc:creator>
      <dc:date>2024-08-22T05:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940438#M369132</link>
      <description>libname x 'c:\temp\';&lt;BR /&gt;data x.have;&lt;BR /&gt; set sashelp.class;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;rc=rename('c:\temp\have.sas7bdat','c:\temp\HAVE.sas7bdat','file');&lt;BR /&gt;run;</description>
      <pubDate>Thu, 22 Aug 2024 07:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940438#M369132</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-22T07:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940692#M369202</link>
      <description>My requirement is to change in sas entire code need to search the tables used in joins or set statement with library.&lt;BR /&gt;Like&lt;BR /&gt;Example&lt;BR /&gt;&lt;BR /&gt;Proc sql;&lt;BR /&gt;Create table test as&lt;BR /&gt;Select * from gdvh. Table1&lt;BR /&gt;Left join gvhb.table2&lt;BR /&gt;;&lt;BR /&gt;Quit;&lt;BR /&gt;So it should change to&lt;BR /&gt;Proc sql;&lt;BR /&gt;Create table test as&lt;BR /&gt;Select * from gdvh. TABLE1&lt;BR /&gt;Left join gvhb.TABLE2&lt;BR /&gt;;&lt;BR /&gt;Quit;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Aug 2024 05:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940692#M369202</guid>
      <dc:creator>Shanthi123</dc:creator>
      <dc:date>2024-08-24T05:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940695#M369204</link>
      <description>&lt;P&gt;That would lead you to render to a plain text process problem.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
infile 'c:\temp\have.sas';
file 'c:\temp\want.sas';
input;
_infile_=prxchange('s/\b(\w+)\s*\.\s*(\w+)\b/\1.\U\2/',-1,_infile_);
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 Aug 2024 00:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940695#M369204</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-25T00:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tablename in a sas program to upper case</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940728#M369215</link>
      <description>&lt;P&gt;Please share some example code where the text of the name used in the code has any impact on the case of the name used in the SNOWFLAKE database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way to get strange names for tables in Snowflake is to enclose the names in quotes.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;create table schema.table as ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Will make the name of table in the default case that snowflake uses.&lt;/P&gt;
&lt;P&gt;But&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;create table schema."TaBle" as ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will make the name in mixed case.&amp;nbsp; And once the name is in mixed case you have to always use the quotes when referencing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 16:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-the-tablename-in-a-sas-program-to-upper-case/m-p/940728#M369215</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-08-24T16:19:05Z</dc:date>
    </item>
  </channel>
</rss>

