<?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 in a format that is native to another host, or the file encoding does not match the session encoding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/796909#M255776</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run the code, I get the following result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1    proc sql;
2        create table process.merge1 as
3        select distinct
4        inpat.psn_name,
5        psn_sector
6        from process.number_of_pat as inpat
7        left join Pat2020.tls206_PERSON_Clean as inco on inpat.psn_name=inco.psn_name
8        where psn_sector in ('COMPANY','COMPANY GOV NON-PROFIT','COMPANY GOV NON-PROFIT
8  ! UNIVERSITY','COMPANY HOSPITAL','COMPANY UNIVERSITY')/* only COMPANY psn_sector will be
8  ! included in the sample*/
9        order by inpat.psn_name
10       ;
NOTE: Data file PROCESS.MERGE1.DATA is in a format that is native to another host, or the file
      encoding does not match the session encoding. Cross Environment Data Access will be used,
      which might require additional CPU resources and might reduce performance.&lt;/PRE&gt;&lt;P&gt;so, I check the format of each dataset by the following code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;12 proc contents data=Pat2020.tls206_PERSON_Clean ; run;&lt;BR /&gt;13 proc contents data=process.number_of_pat ; run;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and get the result as below.&lt;/P&gt;&lt;P&gt;&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="1.png" style="width: 612px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68587iC688B63D9121D392/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&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="2.png" style="width: 557px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68588iA76E342B1F8EE3C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also run the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;14       proc options option=encoding;
15       run;

    SAS (r) Proprietary Software Release 9.4  TS1M2

 ENCODING=UTF-8    Specifies the default character-set encoding for the SAS session.
NOTE: PROCEDURE OPTIONS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but in the end, the result is still,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;16   proc sql;
17       create table process.merge1 as
18       select distinct
19       inpat.psn_name,
20       psn_sector
21       from process.number_of_pat as inpat
22       left join Pat2020.tls206_PERSON_Clean as inco on inpat.psn_name=inco.psn_name
23       where psn_sector in ('COMPANY','COMPANY GOV NON-PROFIT','COMPANY GOV NON-PROFIT
23 ! UNIVERSITY','COMPANY HOSPITAL','COMPANY UNIVERSITY')/* only COMPANY psn_sector will be
23 ! included in the sample*/
24       order by inpat.psn_name
25       ;
&lt;U&gt;NOTE: Data file PROCESS.MERGE1.DATA is in a format that is native to another host, or the file
      encoding does not match the session encoding. Cross Environment Data Access will be used,
      which might require additional CPU resources and might reduce performance.&lt;/U&gt;
ERROR: User asked for termination.

26   quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Do you know why it still happens? and what should I do to figure out this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please give me some advice? Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 16:01:58 GMT</pubDate>
    <dc:creator>Alexxxxxxx</dc:creator>
    <dc:date>2022-02-17T16:01:58Z</dc:date>
    <item>
      <title>in a format that is native to another host, or the file encoding does not match the session encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/796909#M255776</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run the code, I get the following result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1    proc sql;
2        create table process.merge1 as
3        select distinct
4        inpat.psn_name,
5        psn_sector
6        from process.number_of_pat as inpat
7        left join Pat2020.tls206_PERSON_Clean as inco on inpat.psn_name=inco.psn_name
8        where psn_sector in ('COMPANY','COMPANY GOV NON-PROFIT','COMPANY GOV NON-PROFIT
8  ! UNIVERSITY','COMPANY HOSPITAL','COMPANY UNIVERSITY')/* only COMPANY psn_sector will be
8  ! included in the sample*/
9        order by inpat.psn_name
10       ;
NOTE: Data file PROCESS.MERGE1.DATA is in a format that is native to another host, or the file
      encoding does not match the session encoding. Cross Environment Data Access will be used,
      which might require additional CPU resources and might reduce performance.&lt;/PRE&gt;&lt;P&gt;so, I check the format of each dataset by the following code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;12 proc contents data=Pat2020.tls206_PERSON_Clean ; run;&lt;BR /&gt;13 proc contents data=process.number_of_pat ; run;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and get the result as below.&lt;/P&gt;&lt;P&gt;&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="1.png" style="width: 612px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68587iC688B63D9121D392/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&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="2.png" style="width: 557px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68588iA76E342B1F8EE3C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also run the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;14       proc options option=encoding;
15       run;

    SAS (r) Proprietary Software Release 9.4  TS1M2

 ENCODING=UTF-8    Specifies the default character-set encoding for the SAS session.
NOTE: PROCEDURE OPTIONS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but in the end, the result is still,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;16   proc sql;
17       create table process.merge1 as
18       select distinct
19       inpat.psn_name,
20       psn_sector
21       from process.number_of_pat as inpat
22       left join Pat2020.tls206_PERSON_Clean as inco on inpat.psn_name=inco.psn_name
23       where psn_sector in ('COMPANY','COMPANY GOV NON-PROFIT','COMPANY GOV NON-PROFIT
23 ! UNIVERSITY','COMPANY HOSPITAL','COMPANY UNIVERSITY')/* only COMPANY psn_sector will be
23 ! included in the sample*/
24       order by inpat.psn_name
25       ;
&lt;U&gt;NOTE: Data file PROCESS.MERGE1.DATA is in a format that is native to another host, or the file
      encoding does not match the session encoding. Cross Environment Data Access will be used,
      which might require additional CPU resources and might reduce performance.&lt;/U&gt;
ERROR: User asked for termination.

26   quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Do you know why it still happens? and what should I do to figure out this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please give me some advice? Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/796909#M255776</guid>
      <dc:creator>Alexxxxxxx</dc:creator>
      <dc:date>2022-02-17T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/796916#M255781</link>
      <description>&lt;P&gt;What is your operating system?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/796916#M255781</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2022-02-17T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797128#M255857</link>
      <description>&lt;P&gt;Hi, thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my OS is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz&lt;/P&gt;&lt;P&gt;Installed RAM 64.0 GB (63.8 GB usable)&lt;/P&gt;&lt;P&gt;System type 64-bit operating system, x64-based processor&lt;/P&gt;&lt;P&gt;Pen and touch No pen or touch input is available for this display Edition Windows 10 Pro&lt;/P&gt;&lt;P&gt;Version 20H2&lt;/P&gt;&lt;P&gt;Installed on ‎19/‎07/‎2021&lt;/P&gt;&lt;P&gt;OS build 19042.1526&lt;/P&gt;&lt;P&gt;Experience Windows Feature Experience Pack 120.2212.4170.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following is the information shown on the SAS software&lt;BR /&gt;NOTE: SAS (r) Proprietary Software 9.4 (TS1M2 MBCS3170)&lt;BR /&gt;NOTE: This session is executing on the X64_8PRO platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Updated analytical products:&lt;/P&gt;&lt;P&gt;SAS/STAT 13.2&lt;BR /&gt;SAS/ETS 13.2&lt;BR /&gt;SAS/OR 13.2&lt;BR /&gt;SAS/IML 13.2&lt;BR /&gt;SAS/QC 13.2&lt;/P&gt;&lt;P&gt;NOTE: Additional host information:&lt;/P&gt;&lt;P&gt;X64_8PRO WIN 6.2.9200 Workstation&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 02:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797128#M255857</guid>
      <dc:creator>Alexxxxxxx</dc:creator>
      <dc:date>2022-02-18T02:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797129#M255858</link>
      <description>&lt;P&gt;To avoid the issue re-create the dataset with your current version.&lt;/P&gt;
&lt;P&gt;You can add the COMPRESS option and you should save a lot of space also since you have two insanely long character variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 02:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797129#M255858</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-02-18T02:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797134#M255862</link>
      <description>&lt;P&gt;Hi Tom, Many thanks for your advice about using the COMPRESS function to save space. could you please also give me some advice about the "in a format that is native to another host, or the file encoding does not match the session encoding". I also run the code in the SAS(Unicode support), but the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 03:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797134#M255862</guid>
      <dc:creator>Alexxxxxxx</dc:creator>
      <dc:date>2022-02-18T03:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797135#M255863</link>
      <description>&lt;P&gt;There is something different about your current SAS session and the one that made that dataset that is causing SAS to have to use what it calls CEDA to convert it on the fly.&amp;nbsp; &lt;STRONG&gt;Usually you can ignore those messages.&amp;nbsp;&lt;/STRONG&gt;That should not cause any trouble, but might effect your performance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you make the dataset? Or someone else?&lt;/P&gt;
&lt;P&gt;The differences could be Operating System (say Window Desktop vs Window Server), SAS version, Encoding, SAS bitness (32 vs 64).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 03:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797135#M255863</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-02-18T03:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797156#M255876</link>
      <description>&lt;P&gt;Your log complains about the&amp;nbsp;&lt;EM&gt;target&lt;/EM&gt; dataset, not the&amp;nbsp;&lt;EM&gt;source&lt;/EM&gt; datasets. That is weird.&lt;/P&gt;
&lt;P&gt;Run&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname process list;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and look at the log. Consider contacting SAS technical support.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 06:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/797156#M255876</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-02-18T06:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: in a format that is native to another host, or the file encoding does not match the session enco</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/798551#M313951</link>
      <description>&lt;P&gt;Thanks for all your advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the end, I delete the previous dataset 'process.merge1' and then I can create a new&amp;nbsp;'process.merge1' dataset without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is helpful for others facing a similar problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 14:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-a-format-that-is-native-to-another-host-or-the-file-encoding/m-p/798551#M313951</guid>
      <dc:creator>Alexxxxxxx</dc:creator>
      <dc:date>2022-02-25T14:29:08Z</dc:date>
    </item>
  </channel>
</rss>

