04-27-2018 08:35 AM
Hi there !
I really need your help to transfer large table from a Guide profile to an other.
I made a libname in my profile1 to create a large database and I need to access it from my profile2.
Should I use a libname statement or I have to download data from profile1 and upload to profile2 ?
The second way seems to be difficult because of lrage database...
Thanks in advance and sorry for my poor English
04-27-2018 09:51 AM
Yes, you should use the same libname statement in both profiles to assign a library to the same data source (your large table). It is not necessary (and would be very inefficient and cumbersome) to have to recreate the data for each profile.
04-27-2018 09:55 AM
Thanks for the answer but I think that my explanations are not clear...
I connect on 2 differents metadata servers, so, physically, one doesn't know the other...
It would be easy if I connect on the same metadata server but with 2 différents...
I checked the libname meta function but no result
04-27-2018 11:03 AM - edited 04-27-2018 11:04 AM
If you have SAS / Connect on your environments you could access remote data.
%let remhost=22.214.171.124.65 7551;
options comamid=tcp remote=remhost NOCONNECTMETACONNECTION;
signon remhost user=user password="xxxxxxxx";
libname yourlib "/PATH/TO/YOUR/DATA" server=remhost;
You could also connect using a metadata connection specifying:
%let SasHost=hostname 7551;
signon SasHost authdomain=Auth;
libname yourlib "/PATH/TO/YOUR/DATA" server=SasHost;
If you don't have SAS / Connect or SAS / Share you could use a nfs share to make data available on both machines.
04-27-2018 07:25 PM - edited 04-27-2018 07:27 PM
Talk to your SAS administrator about setting up folder sharing between the two SAS environments. If they both use the same operating system it is the easiest way to share data. Then you don't need to copy the data between the two systems, just access the shared data from each system.