Data file is in a format that is native to another host

Reply
Occasional Contributor
Posts: 8

Data file is in a format that is native to another host

Hi! I am reading in a SAS data file but it still shows in the log that :

 

NOTE: Data file EGFR.REPATED_MEASUREMENTS.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.

 

I am working with large datasets and the total processing time is way too long. Is it possible to pre-process the data into a dataset that is "native to SAS environment" so that I can use it later in other steps? Thank you so much!

 

 

Super User
Posts: 19,822

Re: Data file is in a format that is native to another host

Posted in reply to yiyizhao86

Yes, just copy it over. The new WANT dataset will be in your native format. In general, moving data to your work library will allow for faster processing, but if it's a large file may take it's own time.

 

data want;
set egr.repated_measurements;
run;
Occasional Contributor
Posts: 8

Re: Data file is in a format that is native to another host

Sounds good.Thank you so much!
Contributor
Posts: 23

Re: Data file is in a format that is native to another host

Posted in reply to yiyizhao86

Look into proc migrate. I had a similar issue as yours a while ago and this fixed it.

 

libname Source <engine> 'source-library-pathname';
libname Target base 'target-library-pathname';

proc migrate in=Source out=Target;
run;

Referencehttp://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0twretj3hlz1pn1cqhio...

Occasional Contributor
Posts: 8

Re: Data file is in a format that is native to another host

I will try this out. Thank you so much!
Ask a Question
Discussion stats
  • 4 replies
  • 387 views
  • 0 likes
  • 3 in conversation