BookmarkSubscribeRSS Feed
Bunz
Calcite | Level 5

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

4 REPLIES 4
CaseySmith
SAS Employee

Hi @Bunz,

 

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.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Bunz
Calcite | Level 5

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 😞

NunoTGrunho
Fluorite | Level 6

Hi,

 

If you have SAS / Connect on your environments you could access remote data.

 

Ex:

 

%let remhost=1.2.3.4.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:

 

options metaserver="MetaHOST"
metaport=8561
metauser="USER"
metapass="PASS"
metaprotocol="bridge";

%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.

 

SASKiwi
PROC Star

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 850 views
  • 0 likes
  • 4 in conversation