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
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.
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.
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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.