09-04-2012 02:36 PM
I wonder if it's possible to work with 2 servers simultaneously.i'd like to define a library in each other and exchange information between them. How must I proceed??
Thank you in advance.
09-04-2012 02:42 PM
You didn't specify whether the 2 servers have SAS on them or not.
If they do, hopefully you have SAS/Connect. Just establish a Connect session to both servers and act accordingly. Or - you can Connect to server 1 and have it connect to server 2 with a remote submit.
If you don't has SAS on them, I would suggest you just allocate the remote files as network drives and access them locally.
09-04-2012 02:54 PM
If they do, hopefully you have SAS/Connect. Just establish a Connect session to both servers and act accordingly.
Can you guide a bit more on how to use SAS/CONNECT for establishing a connection between two sas servers both of which have CONNECT..
i kind of have the same query...
09-04-2012 03:00 PM
Can you connect to each of the servers 1 at a time? How do you normally access SAS on these systems?
In most cases a Spawner is installed on the server when SAS\Connect is installed. You can then connect to the spawner from your local session. There should be no trouble connecting to 2 or more spawners from the same session.
If there is no Spawner, I believe that you can do the same with FTP substituting.
Once the session have been established, you refer to each session by name, and can use PROC UPLOAD / DOWNLOAD or Remote Submit to access those systems.
09-04-2012 04:53 PM
Are you trying to do this in the context of EGuide?
OS/2Rules comments are based on working directly with SAS Code. You can use the SAS/connect and spawner, etc. from EGuide, but basically that is connecting to one SAS Analysis server with EGuide and then using that SAS Analysis server to to connect to another SAS Analysis server.
EGuide can process against multiple SAS Analysis servers, but only one at a time. However, it can get data from a lot of different "data" servers.
If you are just talking about getting data from "data" servers, rather than SAS analysis servers, then the approach of mounting network drives may be the easiest way to go. Your (one) SAS Analysis Server has to know about the multiple drive locations. If you are using the local SAS Analytic Server (e.g. your PC), then if you can map the drives, you can do the libname for each and are done.