BookmarkSubscribeRSS Feed
yiyizhao86
Calcite | Level 5

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!

 

 

4 REPLIES 4
Reeza
Super User

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;
yiyizhao86
Calcite | Level 5
Sounds good.Thank you so much!
Rwon
Obsidian | Level 7

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...

yiyizhao86
Calcite | Level 5
I will try this out. Thank you so much!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 3826 views
  • 0 likes
  • 3 in conversation