<?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: warning using libname to convert excel sheet to SAS dataset in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Re-warning-using-libname-to-convert-excel-sheet-to-SAS-dataset/m-p/400392#M21501</link>
    <description>&lt;P&gt;I would try an encoding option in the libname, but I have no idea if that would work.&lt;/P&gt;
&lt;P&gt;If you work in a UTF environment, it would be best to run SAS with UTF encoding. That must be set at startup (commandline or config option).&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 19:02:20 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-10-02T19:02:20Z</dc:date>
    <item>
      <title>Re: warning using libname to convert excel sheet to SAS dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Re-warning-using-libname-to-convert-excel-sheet-to-SAS-dataset/m-p/400384#M21500</link>
      <description>&lt;P&gt;&amp;nbsp;Many thanks for the information. For my issue,&amp;nbsp; &lt;SPAN&gt;warning is caused by&amp;nbsp;a character "≥&amp;nbsp;" in a xlsx file, when I use libname to convert it into SAS dataset&lt;SPAN&gt;. The original text in the xlsx file is"≥&amp;nbsp;9 g/dL&lt;SPAN&gt;&lt;SPAN&gt;" and the imported text in my work sas file is " 9 g/dL". &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; inxls=path/ final.xlsx;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; inxls xlsx &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;inxls"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;datasets&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;lib&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=inxls &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;nolist&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;modify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; PDANDAI / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CORRECTENCODING&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'utf-8'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Here give my ERROR: &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ERROR: Update access is not supported for file INXLS.PD_AND_AI.DATA.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; a; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; inxls.PDandAI ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;could you please let me know how I modfy the program to get this resolved?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Many thanks for your help!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 18:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Re-warning-using-libname-to-convert-excel-sheet-to-SAS-dataset/m-p/400384#M21500</guid>
      <dc:creator>mei1006</dc:creator>
      <dc:date>2017-10-02T18:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: warning using libname to convert excel sheet to SAS dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Re-warning-using-libname-to-convert-excel-sheet-to-SAS-dataset/m-p/400392#M21501</link>
      <description>&lt;P&gt;I would try an encoding option in the libname, but I have no idea if that would work.&lt;/P&gt;
&lt;P&gt;If you work in a UTF environment, it would be best to run SAS with UTF encoding. That must be set at startup (commandline or config option).&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 19:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Re-warning-using-libname-to-convert-excel-sheet-to-SAS-dataset/m-p/400392#M21501</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-02T19:02:20Z</dc:date>
    </item>
  </channel>
</rss>

