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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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