03-04-2018 05:41 PM
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?
03-04-2018 08:23 PM
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.
03-04-2018 09:24 PM
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.
03-05-2018 01:40 AM
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.