<?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 and export data sets in Korean characteristics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643146#M191894</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yay, I found one with unicode support. Can you show me in SAS code how to import the file that I attached to this post for example? Given that I now have opened Unicode Support SAS, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="found it.png" style="width: 917px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38781i37EC0A74ED2AD04F/image-size/large?v=v2&amp;amp;px=999" role="button" title="found it.png" alt="found it.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Apr 2020 22:45:34 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2020-04-26T22:45:34Z</dc:date>
    <item>
      <title>How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643106#M191881</link>
      <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;I'd like to use English in writing SAS programs. But I have about 10 excel datasets sorted on the ID variables that are written in Korean characteristics. I'd like to merge these 10 data sets by ID in Korean characteristics. After merging, I'll have to proc export the resulting merged dataset into excel keeping ID in Korean characteristics.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found u8 folder in my SASFoundation folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help what needed to be done from here? I find SAS documentation on the topic complex. One of excel sheets that I'm trying to import and export is attached for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="language.png" style="width: 935px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38772iEE687ED483A359E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="language.png" alt="language.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 19:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643106#M191881</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T19:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643135#M191888</link>
      <description>&lt;P&gt;I'm not allowed to change nls/en to nls/u8 in the SASFoundation. This is my personal laptop but still not allowed to make changes. Maybe I should try linking the tables in Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="can't change.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38777i453DBEAAAA981DFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="can't change.png" alt="can't change.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 21:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643135#M191888</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T21:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643139#M191890</link>
      <description>&lt;P&gt;Did you try Administrator mode for Notepad++? You should have administrator access to your own personal laptop.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643139#M191890</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-04-26T22:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643141#M191891</link>
      <description>&lt;P&gt;If they setup your laptop right in addition to a command to launch SAS using single byte encoding you should have one to launch using&amp;nbsp;&lt;BR /&gt;unicode support.&amp;nbsp; Just start SAS with than icon/command.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1587940636156.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38779i64063D75BC46F0D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tom_0-1587940636156.png" alt="Tom_0-1587940636156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643141#M191891</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-26T22:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643142#M191892</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I was able to change in the notepad+++. ThenI tried following based on SAS help center's blog with no success. Resulting test dataset has nonsensical symbols instead Korean characteristics.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME IN "D:\mydata.txt" Encoding="utf-16";
       PROC IMPORT OUT= WORK.test
       DATAFILE= IN
       DBMS=TAB REPLACE;
       GETNAMES=YES;
       DATAROW=2;
       RUN;

	   proc options option=encoding; run;

proc options option=encoding; run;

SAS (r) Proprietary Software Release 9.4  TS1M5
 ENCODING=WLATIN1&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643142#M191892</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T22:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643144#M191893</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what i see. It seems that all I have is SAS with DBCS. Opening 'SAS with DBCS' version help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="my system.png" style="width: 486px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38780i9315607861B59102/image-size/large?v=v2&amp;amp;px=999" role="button" title="my system.png" alt="my system.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643144#M191893</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T22:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643146#M191894</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yay, I found one with unicode support. Can you show me in SAS code how to import the file that I attached to this post for example? Given that I now have opened Unicode Support SAS, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="found it.png" style="width: 917px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38781i37EC0A74ED2AD04F/image-size/large?v=v2&amp;amp;px=999" role="button" title="found it.png" alt="found it.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643146#M191894</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T22:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643149#M191895</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;this worked. I can't believe my eyes!!!! Thank you so much. I struggled whole 5 hours. The problem was solved in just couple minutes. Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME IN "camp1.txt";
       PROC IMPORT OUT= WORK.test
       DATAFILE= IN
       DBMS=TAB REPLACE;
       GETNAMES=YES;
       DATAROW=2;
       RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="worked.png" style="width: 900px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38782iC66F4381E8A27A64/image-size/large?v=v2&amp;amp;px=999" role="button" title="worked.png" alt="worked.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643149#M191895</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T22:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643150#M191896</link>
      <description>Glad it worked, but that code would NOT work with the file you originally posted. That files was an XLSX file, not a tab delimited text file your code is reading.&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Apr 2020 22:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643150#M191896</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-26T22:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643152#M191897</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you're right. It didn't work with .xlsx datasets that I actually have unless I open them one by one and save to unicode.txt. I tried the code below which created non-sensical dataset. Any suggestion as to how to make/modify this code to work for .xlsx files?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT=test_excel
DATAFILE="camp.xlsx"
DBMS=TAB REPLACE;
GETNAMES=YES;
DATAROW=2;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gyber jabber.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38784i91BD3177124B4698/image-size/large?v=v2&amp;amp;px=999" role="button" title="gyber jabber.png" alt="gyber jabber.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 23:00:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643152#M191897</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-04-26T23:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to import and export data sets in Korean characteristics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643155#M191898</link>
      <description>&lt;P&gt;I am sure that is a good representation of what it would like if you read the binary XLSX file as if it was a text file.&lt;/P&gt;
&lt;P&gt;You need to tell PROC IMPORT to use the XLSX engine.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import dbms=xlsx datafile="&amp;amp;path\&amp;amp;fname"
  out=test replace 
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Apr 2020 23:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-and-export-data-sets-in-Korean-characteristics/m-p/643155#M191898</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-26T23:17:40Z</dc:date>
    </item>
  </channel>
</rss>

