<?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: Data file  is in a format that is native to another host in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/872061#M344513</link>
    <description>&lt;P&gt;Oddly, Patrick's solution didn't work for me.&lt;/P&gt;&lt;P&gt;Here's what *did* work:&lt;/P&gt;&lt;PRE&gt;%MACRO Fix_Table_Encoding(SrcTbl, Test=Y);

	proc contents data = &amp;amp;SrcTbl; run;

	%IF &amp;amp;Test = Y %THEN %GOTO AllDone;

	proc sql;

		CREATE TABLE Temp AS SELECT * FROM &amp;amp;SrcTbl;
		DROP TABLE &amp;amp;SrcTbl;
		CREATE TABLE &amp;amp;SrcTbl AS SELECT * FROM Temp;

	quit;

	proc contents data = &amp;amp;SrcTbl; run;


	%AllDone:

%MEND Fix_Table_Encoding;



%MACRO FixHelpers;

	%LOCAL Tables TblCount tnx TblName;
	%LET Tables=;
	
	LIBNAME HLP META LIBRARY = "IE Reporting Helpers HELPERS" metaout = data;

	proc sql;
		SELECT
			cats('HLP', '.', MEMNAME)
		INTO : Tables separated by '|'
		FROM SASHELP.VSTABLE
		WHERE LIBNAME = 'HLP'
		;
	quit;

	%LET TblCount = %sysfunc(countw(&amp;amp;Tables, |));
	%DO tnx = 1 %TO &amp;amp;TblCount;
		%LET TblName = %scan(&amp;amp;Tables, &amp;amp;tnx, |);
		%PUT Working table &amp;amp;TblName;
		%Fix_Table_Encoding(&amp;amp;TblName, Test=N);
	%END;

	LIBNAME HLP CLEAR;

%MEND FixHelpers;

%FixHelpers;&lt;/PRE&gt;</description>
    <pubDate>Tue, 25 Apr 2023 22:19:23 GMT</pubDate>
    <dc:creator>JimmyJoeBob</dc:creator>
    <dc:date>2023-04-25T22:19:23Z</dc:date>
    <item>
      <title>Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254416#M268843</link>
      <description>&lt;P&gt;How can I troubleshoot this error message?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: Data file EGFR.REPATED_MEASUREMENTS.DATA is in a format that is native to another host,&lt;BR /&gt; or the file encoding does not match the session encoding. Cross Environment Data Access&lt;BR /&gt; will be used, which might require additional CPU resources and might reduce performance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12348i457C9B0D0E5D4405/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS.JPG" title="SAS.JPG" /&gt;</description>
      <pubDate>Fri, 04 Mar 2016 06:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254416#M268843</guid>
      <dc:creator>mantubiradar19</dc:creator>
      <dc:date>2016-03-04T06:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254417#M268844</link>
      <description>&lt;P&gt;1) Could be the encoding of that sas table&amp;nbsp;is different from your local sas session. You can change it like :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=work nodetails nolist;
modify have/ correctencoding='utf8';
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2)Could be OS that sas&amp;nbsp;table be generated is&amp;nbsp;different from your local PC OS. You can change it like :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have(outrep='linux_32');
 set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2016 06:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254417#M268844</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-03-04T06:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254418#M268845</link>
      <description>&lt;P&gt;Do I need to add either of these lines in the beginning of my SAS code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254418#M268845</guid>
      <dc:creator>mantubiradar19</dc:creator>
      <dc:date>2016-03-04T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254430#M268846</link>
      <description>&lt;P&gt;It might be encoding but it could also be due to the architectural difference between machines. If eg. your dataset was created on AIX or hp-ux and then the .sas7bdat file was moved over to Windows or Linux you will see this. It is due to the different byte order of the processor between the native OS and the current one. Have a look at &lt;A href="https://nl.wikipedia.org/wiki/Endianness." target="_self"&gt;https://nl.wikipedia.org/wiki/Endianness.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My first step would be to investigate the lifespan of the dataset from creation to where it is now. In any case you will be able to reconstruct the table to a native shape by copying it as KSharp suggested. Hope it's not a large one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254430#M268846</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-04T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254744#M268847</link>
      <description>Hi:&lt;BR /&gt;  This is NOT an ERROR message. It is an informational note, telling you that the data set your using was created in a format that was native to another host operating system. SAS will still read the data. IF you experience performance issues (which may happen, but is not guaranteed to happen), then you might want to pursue "fixing" the dataset. But this is NOT an ERROR. SAS Errors start with ERROR: and are usually displayed in RED. Notes are informational, start with NOTE: and Warnings are more serious, and start with WARNING: &lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 05 Mar 2016 16:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/254744#M268847</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-03-05T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/256287#M268848</link>
      <description>Thanks for the clarification!</description>
      <pubDate>Sat, 12 Mar 2016 13:34:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/256287#M268848</guid>
      <dc:creator>mantubiradar19</dc:creator>
      <dc:date>2016-03-12T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/391260#M268849</link>
      <description>&lt;P&gt;I meet the same question. Have you settle it? Can you help me? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 16:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/391260#M268849</guid>
      <dc:creator>scy</dc:creator>
      <dc:date>2017-08-28T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/391289#M268850</link>
      <description>Hi:&lt;BR /&gt;  If you are getting the SAME message, then the answer is the SAME, as well.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 28 Aug 2017 17:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/391289#M268850</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-08-28T17:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/429610#M268851</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;would you also get this error when running programs created using Windows 8 PRO and now running Windows 10?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 13:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/429610#M268851</guid>
      <dc:creator>telsadl</dc:creator>
      <dc:date>2018-01-22T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/456914#M268852</link>
      <description>It is possible that data created under one version of Windows might give the same error under another version of Windows, especially if the "bitness" was different -- 32 bit vs 64 bit.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 24 Apr 2018 15:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/456914#M268852</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-04-24T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467039#M268853</link>
      <description>&lt;P&gt;I have an odd case where the environments are the same and I still get the CEDA note.&amp;nbsp; Any ideas?&amp;nbsp; I know it's an informational message -&amp;nbsp;is there any reason for concern?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data originated on machine 1 and then transferred to machine #2 via SCP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS from original dataset on Machine #1:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Set Name&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;LANDPROD.RTL_SML_APP&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Observations&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;59071485&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Member Type&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;DATA&lt;/P&gt;
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&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Reuse Space&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;NO&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Label&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Point to Observations&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;YES&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Representation&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;HP_UX_64, RS_6000_AIX_64, SOLARIS_64, HP_IA64&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Sorted&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;NO&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Encoding&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;latin1 Western (ISO)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD colspan="2"&gt;
&lt;P&gt;&lt;STRONG&gt;Engine/Host Dependent Information&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Set Page Size&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;65536&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Number of Data Set Pages&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;86075&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Number of Data Set Repairs&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Filename&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;/data/landing/rtl_sml_app.sas7bdat&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Release Created&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;9.0401M4&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Host Created&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;SunOS&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Inode Number&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;824&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Access Permission&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;rw-rw-r--&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Owner Name&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;sassrv&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;File Size&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;5GB&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;File Size (bytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;5641076736&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS from original dataset on Machine #2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Set Name&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;LANDMODL.RTL_SML_APP&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Observations&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;59071485&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Member Type&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;DATA&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Variables&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;18&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Engine&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;V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t;Label&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Point to Observations&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;YES&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Representation&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;HP_UX_64, RS_6000_AIX_64, SOLARIS_64, HP_IA64&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Sorted&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;NO&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Encoding&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;latin1 Western (ISO)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD colspan="2"&gt;
&lt;P&gt;&lt;STRONG&gt;Engine/Host Dependent Information&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Data Set Page Size&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;65536&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Number of Data Set Pages&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;86075&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Number of Data Set Repairs&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Filename&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;/sasdata/ally_fraud/fcm/data/landing/rtl_sml_app.sas7bdat&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Release Created&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;9.0401M4&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Host Created&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;SunOS&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Inode Number&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;176988&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Access Permission&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;rw-rw-r--&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Owner Name&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;sas&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;File Size&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;5GB&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;File Size (bytes)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;5641076736&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 21:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467039#M268853</guid>
      <dc:creator>KenMac</dc:creator>
      <dc:date>2018-06-01T21:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467074#M268854</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/6127"&gt;@KenMac&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Copying a .sas7bdat file via SCP is binary and won't change the encoding. So I'd hope for a Proc Contents to show the same information when run on source and target environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What the CEDA message tells you is that SAS in the target environment would natively create the .sas7bdat file a bit differently and that reading the .sas7bdat file in the source version will create a bit of overhead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below code run on your target machine #2 will re-create the table. Run your proc contents after this code and observe the differences.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data LANDMODL.RTL_SML_APP;
   set LANDMODL.RTL_SML_APP;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 Jun 2018 03:48:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467074#M268854</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-06-02T03:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467279#M268855</link>
      <description>&lt;P&gt;Patrick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That provided the answer.&amp;nbsp; While both servers are running the same OS and SAS release levels, it turns out that one was running with encodnig set to LATIN1 and the other was set to UTP-8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time to have a talk with my adimns about this one...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 01:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/467279#M268855</guid>
      <dc:creator>KenMac</dc:creator>
      <dc:date>2018-06-04T01:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data file  is in a format that is native to another host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/872061#M344513</link>
      <description>&lt;P&gt;Oddly, Patrick's solution didn't work for me.&lt;/P&gt;&lt;P&gt;Here's what *did* work:&lt;/P&gt;&lt;PRE&gt;%MACRO Fix_Table_Encoding(SrcTbl, Test=Y);

	proc contents data = &amp;amp;SrcTbl; run;

	%IF &amp;amp;Test = Y %THEN %GOTO AllDone;

	proc sql;

		CREATE TABLE Temp AS SELECT * FROM &amp;amp;SrcTbl;
		DROP TABLE &amp;amp;SrcTbl;
		CREATE TABLE &amp;amp;SrcTbl AS SELECT * FROM Temp;

	quit;

	proc contents data = &amp;amp;SrcTbl; run;


	%AllDone:

%MEND Fix_Table_Encoding;



%MACRO FixHelpers;

	%LOCAL Tables TblCount tnx TblName;
	%LET Tables=;
	
	LIBNAME HLP META LIBRARY = "IE Reporting Helpers HELPERS" metaout = data;

	proc sql;
		SELECT
			cats('HLP', '.', MEMNAME)
		INTO : Tables separated by '|'
		FROM SASHELP.VSTABLE
		WHERE LIBNAME = 'HLP'
		;
	quit;

	%LET TblCount = %sysfunc(countw(&amp;amp;Tables, |));
	%DO tnx = 1 %TO &amp;amp;TblCount;
		%LET TblName = %scan(&amp;amp;Tables, &amp;amp;tnx, |);
		%PUT Working table &amp;amp;TblName;
		%Fix_Table_Encoding(&amp;amp;TblName, Test=N);
	%END;

	LIBNAME HLP CLEAR;

%MEND FixHelpers;

%FixHelpers;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Apr 2023 22:19:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-is-in-a-format-that-is-native-to-another-host/m-p/872061#M344513</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2023-04-25T22:19:23Z</dc:date>
    </item>
  </channel>
</rss>

