<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Requesting advice/directions for copying libraries from one server to another? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589029#M18017</link>
    <description>&lt;P&gt;Due to different OS between two server , better use PROC CPORT and PROC CIMPORT to avoid CEDA problem .&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2019 12:59:14 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-09-16T12:59:14Z</dc:date>
    <item>
      <title>Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588860#M17994</link>
      <description>&lt;P&gt;At my work place, My team and I work with libraries that are in two different servers. There servers are completely independent and in essence &lt;STRONG&gt;do not&lt;/STRONG&gt; talk to each other.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. One is a SAS RISK Unix server-&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;SYSHOSTINFOLONG IBM AIX AIX 64 1 7 00FA746A4C00&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2. Two is a SAS Windows server that we call it BPT server. -&amp;nbsp;&lt;STRONG&gt;SYSHOSTINFOLONG X64_ES08R2 WIN 6.1.7601 Service Pack 1 Server&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We access datasets from libraries from both the servers and perform ad-hoc requests. Lately, there are certain requirements where the reports requires some logic to combine datasets from both independent servers and deliver it to end-user. Right now, how we go about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Login to Unix server, extract the subsets whatever is required. Then change the server from &lt;EM&gt;&lt;STRONG&gt;SASApp to Local.&lt;/STRONG&gt;&lt;/EM&gt; Create a libname connection to a folder that is accessible in BPT server. Manually copy the dataset/subset to the folder by using the mouse on the left hand side of EG. Log out&amp;nbsp; &lt;EM&gt;/*While the subset program execution hardly takes few minutes for like 5 million records,the manual mouse point/click copy/paste takes ages*/&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Log in to BPT server,&amp;nbsp; assign the libname that very folder again and do whatever.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sure we can do better than that. I am certainly amazed by the execution speed in the UNIX server and how I wish i can use that as a platform to carry out all the development/test etc.&amp;nbsp; The question is how, what and why? Thank you in advance for the solutions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS I posted a similar question, but I didn't detail it like I have here. So kindly treat this as independent thread. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 17:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588860#M17994</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-15T17:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588875#M17995</link>
      <description>&lt;P&gt;Its a pity both of your SAS servers don't run on the same OS. If that were the case then simple folder shares between the two environments would enable you to establish data connections / SAS libraries between the two servers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it a matter of policy or security that the two servers don't talk to each other, or is it simply nobody has put up a compelling case to do so?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS/CONNECT installed and licensed on both servers then that would provide a much easier way of exchanging SAS data. From any server EG session you can PROC UPLOAD / DOWNLOAD data libraries and datasets between servers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have SAS/CONNECT then CEDA together might be an alternative: &lt;A href="https://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p0c0l7xkprukh1n1ey1voicmgn6f.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p0c0l7xkprukh1n1ey1voicmgn6f.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case you would have to get agreement that the two SAS servers are allowed to communicate directly with each other.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 20:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588875#M17995</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-09-15T20:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588877#M17996</link>
      <description>&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;This is a common issue in multi-server environments. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;The best, and correct, answer is to get your administrators to set up a direct connection between the two servers, bypassing your workstation completely. If there's any possibility of this being done, it's the option to pursue. Bribery is acceptable!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;If not, the one thing I can suggest is to try testing the copy speed from your local workstation to BPT server; just use a windows copy, or a shell script, to copy one of your extract files up to it. Find out what your communication link speed is supposed to be (1 gigabit per second, 10 gigabits per second), etc.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;Then figure out (basic math):&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;1. Does your basic copy of the file execute in about the time that would seem reasonable (you'll never hit the exact speed; anything over 50% is good enough).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;2. How does the copy speed in EG compare with the basic copy speed (should be similar, or there's something wrong in your EG configuration).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;Hopefully someone with more expertise will have a better suggestion.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; Tom&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 15 Sep 2019 20:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588877#M17996</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-09-15T20:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588885#M17997</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just adding/throwing ideas what others wrote already:&lt;/P&gt;
&lt;P&gt;If there is no SAS/Connect and shared file system then you could consider to use the SAS EG copy task. This ties your code to EG but at least you wouldn't have to fully manually download/upload your file anymore when re-running your job.&lt;/P&gt;
&lt;P&gt;If security at your site allows it then you could also try to use SCP or SFTP to connect from server A to Server B. Run a remote command on server B to execute your SAS script and then download to server A where you do the rest.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 21:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/588885#M17997</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-09-15T21:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589008#M18016</link>
      <description>&lt;P&gt;Good morning from Bridgeport, CT to all who responded. I am hoping to take the case to my boss and to the Admin to enact upon the objective of making servers communicate. However, I am not sure what would they counter me with should they find that a big deal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Is it a matter of policy or security that the two servers don't talk to each other, or is it simply nobody has put up a compelling case to do so?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;No idea, but I don't think so. My guess is our infrastructure isn't as well established/sophisticated in the 1st place. Also, majority are rather business users than tech folks. As a matter of fact, you wouldn't believe me, some here even prefer a hard coded solution as opposed to an automated solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in essence if it's a big deal that would require extensive knowledge to the extent seeking expertise of an external consultant to get this done, it's gonna be a non-starter. If not, there is a chance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do have SAS CONNECT though. Yes the DOWNLOAD/UPLOAD is possible. Anyways, is it possible to save results of execution of SASApp server on to my Desktop with some kind of &lt;U&gt;&lt;EM&gt;Desktop as a service&lt;/EM&gt;&lt;/U&gt; facility?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 11:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589008#M18016</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-16T11:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589029#M18017</link>
      <description>&lt;P&gt;Due to different OS between two server , better use PROC CPORT and PROC CIMPORT to avoid CEDA problem .&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 12:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589029#M18017</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-09-16T12:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589093#M18022</link>
      <description>Also, in SAS Base you can connect and disconnect to multiple servers via code to keep you process still automated but that's not available in EG. I would also make an argument for an interim solution to have desktop SAS installed for some users to get around this for certain projects. That shouldn't be a heavy lift for your IT team.</description>
      <pubDate>Mon, 16 Sep 2019 15:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589093#M18022</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-16T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589122#M18026</link>
      <description>&lt;P&gt;" &lt;STRONG&gt;in SAS Base you can connect and disconnect to multiple servers via code&lt;/STRONG&gt;&amp;nbsp;"- You have given me a reason to breathe now!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Also, &lt;STRONG&gt;in SAS Base you can connect and disconnect to multiple servers via code&lt;/STRONG&gt; to keep you process still automated but that's not available in EG. I would also make an argument for an interim solution to have desktop SAS installed for some users to get around this for certain projects. That shouldn't be a heavy lift for your IT team.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589122#M18026</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-16T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting advice/directions for copying libraries from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589140#M18027</link>
      <description>Yeah, that was the main reason I didn't leave Base SAS to EG or Studio when working with a server. I hated having to switch or could only work locally or on server. On desktop that wasn't an issue. I should caveat this with that was now a few years ago...my current company doesn't have SAS.</description>
      <pubDate>Mon, 16 Sep 2019 17:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-advice-directions-for-copying-libraries-from-one/m-p/589140#M18027</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-16T17:16:54Z</dc:date>
    </item>
  </channel>
</rss>

