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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3408 views
  • 0 likes
  • 3 in conversation