BookmarkSubscribeRSS Feed
GeorgeSAS
Lapis Lazuli | Level 10

Hello everyone,

 

I know we can use rsubmit to use proc download/upload to transfer files.

 

If a SAS dataset A locates in server a and SAS dataset B locates in server b.

I want to compare the difference of A and B using proc compare procedure.

 

My question is do I have to at first download A from server a to server b to make them in same location then I can compare them?

 

Thanks

3 REPLIES 3
SASKiwi
PROC Star

Both the base and compare datasets need to be accessible by the SAS server running the COMPARE procedure. One way to do that is to download one of the datasets to that server as you describe. Another way would be to set up network shares between the servers so they can read each others datasets - this will only work if the servers run the same operating systems.

ChrisNZ
Tourmaline | Level 20

You can use RLS (Remote Library Services). 

 

libname WORK_B server=B slibref=WORK;

 

It won't be any faster though, probably slower than a download. But less code and less local storage used.

Kurt_Bremser
Super User

Use upload/download, then run compare. Using the remote library services will be less performant (record-by-record reads/writes vs. bulk) as of my past experience.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3 replies
  • 692 views
  • 3 likes
  • 4 in conversation