<?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 import all data in uppercase of excel file? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900891#M356031</link>
    <description>&lt;P&gt;The following example is copying sheets of excel "c:\temp\date.xlsx" into WORK library.&lt;/P&gt;
&lt;P&gt;Change the path of excel file and libname according to yours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any validmemname=extend;

libname x xlsx 'c:\temp\date.xlsx';


filename x temp;
proc cport library=x file=x OUTTYPE=UPCASE;
run;
proc cimport library=work infile=x;
run;

libname x clear;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 Oct 2023 12:02:07 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-10-31T12:02:07Z</dc:date>
    <item>
      <title>How to import all data in uppercase of excel file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900883#M356026</link>
      <description>&lt;P&gt;I want to import excel sheet which have multiple sheet and load the sheet's data in uppercase (i.e. everything in uppercase- variables and observations all ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900883#M356026</guid>
      <dc:creator>varshabansal</dc:creator>
      <dc:date>2023-10-31T11:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to import all data in uppercase of excel file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900885#M356028</link>
      <description>&lt;P&gt;Do the import into a SAS data set, then you can convert everything to uppercase using the UPCASE function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    array text _character_;
    do i=1 to dim(text);
        text(i)=upcase(text(i));
    end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900885#M356028</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-31T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to import all data in uppercase of excel file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900886#M356029</link>
      <description>&lt;P&gt;Can you post an example of how the resulting dataset should look like?&lt;/P&gt;
&lt;P&gt;Using sashelp.cars a data step changing all alphanumeric vars to uppercase could look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* untested */
data want;
  set sashelp.cars;
  array cvars _character_;
  do i = 1 to dim(cvars);
    cvars[i] = upcase(cvars[i]);
  end;
  drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900886#M356029</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2023-10-31T11:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to import all data in uppercase of excel file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900891#M356031</link>
      <description>&lt;P&gt;The following example is copying sheets of excel "c:\temp\date.xlsx" into WORK library.&lt;/P&gt;
&lt;P&gt;Change the path of excel file and libname according to yours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any validmemname=extend;

libname x xlsx 'c:\temp\date.xlsx';


filename x temp;
proc cport library=x file=x OUTTYPE=UPCASE;
run;
proc cimport library=work infile=x;
run;

libname x clear;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 12:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-all-data-in-uppercase-of-excel-file/m-p/900891#M356031</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-10-31T12:02:07Z</dc:date>
    </item>
  </channel>
</rss>

