DATA Step, Macro, Functions and more

remote submit can only transfer file?

Reply
Super Contributor
Posts: 267

remote submit can only transfer file?

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

Super User
Posts: 3,866

Re: remote submit can only transfer file?

Posted in reply to GeorgeSAS

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.

PROC Star
Posts: 2,319

Re: remote submit can only transfer file?

Posted in reply to GeorgeSAS

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.

Super User
Posts: 9,925

Re: remote submit can only transfer file?

Posted in reply to GeorgeSAS

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 3 replies
  • 120 views
  • 3 likes
  • 4 in conversation