I need to compare two different sas datasets lying in two different servers. One is Unix and the other one is in Windows. I am running my sas session in windows , connecting to Unix using SAS/CONNECT to compare both the datasets. The program is throwing an error that the local library is not recognised. Please find below the snippet. The local directory was recognized by PROC DOWNLOADS but not by PROC COMPARE.
libname local "D:\test_dir"; * this happens in your local session;
%let rmtsrvr = xxxxxxxx xxxx;
options comamid=tcp remote=rmtsrvr;
signon user="xxxx" password="xxxxxxxxxxxxxxxxxxxxxx";
rsubmit; * from here on everything happens in the remote session;
libname rmt "/xxx/xxx/xxxx";
proc compare base=rmt.dt1 compare=local.dt1_t;
* you never executed a libname for local in the remote session, so it does not have that libref;
ID var1 var2;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.