<?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 faster methods to transfer a dataset from one server to another? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580356#M17749</link>
    <description>Unless I miss read that code it looks like you are transferring the files twice.  Your code is running on A and copying data from B to A and back to C.  Why not just have B connect to C and move the files directly between those two?&lt;BR /&gt;</description>
    <pubDate>Sat, 10 Aug 2019 14:03:43 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-08-10T14:03:43Z</dc:date>
    <item>
      <title>Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580207#M17740</link>
      <description>&lt;P&gt;Hello Folks, We at my org are using SAS Connect procedures(proc download and upload) to move a dataset from one server to another. I have been told that it takes ages and to see if there are other better ways to optimize the process. Any pointers/directions would be of great help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And of course many thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 17:23:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580207#M17740</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-08-09T17:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580212#M17742</link>
      <description>&lt;P&gt;You could probably just FTP (or SFTP) the data set from one server to another.&amp;nbsp; If your FTP/SFTP/FTPS/SSH method uses compression, it will probably be faster than using SAS.&amp;nbsp; You might get better results if you gzip before sending (or maybe not - you might lose more time zipping and unzipping than you save by sending fewer data packets).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be possible to do it entirely in SAS using the ZIP and sockets engines.&amp;nbsp; That would make an interesting project, but I wouldn't want to have to support it for the next decade.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 17:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580212#M17742</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2019-08-09T17:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580231#M17743</link>
      <description>&lt;P&gt;Two Other Methods can also be considered apart from FTP/SFTP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Rsync&amp;nbsp;(Remote Sync&lt;SPAN&gt;) : Commonly used utility in Unix/Linux to copy and synchronize files and folders. Consumes less bandwith as it uses compression and decompression&amp;nbsp;method at both ends.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. NDM ( Network Data Mover) : Needs licence. Good for large datasets and has several advantages like encryption ,compression, cli etc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580231#M17743</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-08-09T18:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580233#M17744</link>
      <description>&lt;P&gt;I would suggest you calibrate the transfer speed by just doing a simple transfer of a largish data volume between the two servers, using a simple option like FTP. If it takes about the same time as your SAS process, you just have a lot of data and/or slow communication speeds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the FTP is MUCH faster than SAS, there's something wrong in how your environment is set up. Some digging might result in a large improvement in your SAS environment, maybe carrying over to other users/applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580233#M17744</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-08-09T18:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580239#M17745</link>
      <description>&lt;P&gt;Really depends on the topology of your network.&amp;nbsp; If the two servers live near each other perhaps you can just have them both access the files from the same storage device and totally eliminate the need to move anything.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580239#M17745</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-08-09T18:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580353#M17748</link>
      <description>&lt;P&gt;Thank you all for your responses. I will ask my Boss to take a look into this thread and will ask for his thoughts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here is the process they(we) have been working with. Does the below make much sense to you?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

signoff bpthost;
signoff sashost;

options compress=yes obs = max validvarname = any;
%let sashost=blahblahblah;
%let usr = %str(xxxx);
%let pwd = %str(xxxx);


signon sashost username="&amp;amp;usr" password="&amp;amp;pwd";

rsubmit sashost;

	options compress=yes obs = max validvarname = any;

	LIBNAME TDRRO META LIBRARY="SPDS - TDR ReadOnly" METAOUT=DATA;

endrsubmit;

options symbolgen;

rsubmit sashost;

	proc download data = TDRRO.tdr_database; run;

endrsubmit;

signoff sashost;


/***  data period is now in your local work folder  ***/

%let usr = %str(xxxx);
%let pwd = %str(xxxx);


/***  signon to the bpt server ***/

options comamid=tcp;
filename RLINK "\\wapprib00001040\sas_install\SAS_Config\tcpwin.scr";
%let APPSVR=blahblahblah1;
%let bpthost=blahblahblah2;
/*%let riskhost=blahblahblah3;*/
%let NOOVLPIO=YES;

/* SIGNON TO BPT SERVER */
options FORMCHAR='|----|+|---+=|-/\&amp;lt;&amp;gt;*' ;
options remote=bpthost ps=60 msglevel=i errors=1 obs=max compress=no replace=yes no$syntaxcheck nosymbolgen validvarname=any;
signon bpthost username="&amp;amp;usr." password="&amp;amp;pwd.";
libname bptwork server=bpthost slibref=work;


rsubmit bpthost;

	proc upload data = tdr_database;  run;

	libname tdrrofl "\\corp\sites\RIB1001\HLSCreditRisk\SAShostData\tdrro";


	data tdrrofl.tdr_database;  
		set work.tdr_database; 
	run;

	proc datasets lib=work noprint;
		   delete 	
					tdr_database
					; 
	   quit;
	   run;


endrsubmit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Aug 2019 13:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580353#M17748</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-08-10T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580356#M17749</link>
      <description>Unless I miss read that code it looks like you are transferring the files twice.  Your code is running on A and copying data from B to A and back to C.  Why not just have B connect to C and move the files directly between those two?&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Aug 2019 14:03:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580356#M17749</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-08-10T14:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580360#M17750</link>
      <description>&lt;P&gt;Thank you Sir&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp; Kindly bear with me and with my silly questions as I have never personally used SAS connect and I am not clear how it works. So you are right. with that common sense approach, can the code be as simple as&lt;/P&gt;
&lt;P&gt;1. TDRRO to work(proc download)&lt;/P&gt;
&lt;P&gt;2. WORK to TDRROFL(proc upload)&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
rsubmit sashost;
   
	options compress=yes ;
	proc download data = TDRRO.tdr_database; run;

endrsubmit;

rsubmit bpthost;
	libname tdrrofl "\\corp\sites\RIB1001\HLSCreditRisk\SAShostData\tdrro";
	proc upload data = tdr_database out=tdrrofl.tdr_database;  run;

	proc datasets lib=work noprint;
		   delete 	
					tdr_database
					; 
	   quit;
	   run;


endrsubmit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You may say &lt;EM&gt;"why don't I test it?"&lt;/EM&gt; I do not have all my accesses set up yet as I am new to the team&amp;nbsp; so in the mean time , i just reviewing the stuff in existence&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 14:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580360#M17750</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-08-10T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580361#M17751</link>
      <description>&lt;P&gt;Again it is easier to explain without the details from your case (we don't know your data/hosts/etc.).&lt;/P&gt;
&lt;P&gt;So you are running on a node let's call MASTER as that is where you are actually submitting the code.&lt;/P&gt;
&lt;P&gt;You want to connect to another SAS server that has the data to be moved. Let's call that node SOURCE.&lt;/P&gt;
&lt;P&gt;You want to move the data to a third SAS server let's call TARGET.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On SOURCE the data lives in a library we are accessing with a libref name FROM. On TARGET the is written into a library we are accessing with a libref named TO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;signon source;
rsubmit source;

  libname from ..... ;
  signon target;
  rsubmit target ;
     
    libname to .... ;
    proc upload in=FROM.table1 out=TO.table1;
    run;
  endrsubmit;
endrsubmit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Aug 2019 14:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580361#M17751</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-08-10T14:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting faster methods to transfer a dataset from one server to another?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580364#M17752</link>
      <description>&lt;P&gt;Looks slick and neat. Let me get my access, test and come back here. Of course with smile, I believe you nailed it. However, I will keep the thread open until mon/tue and mark the solution as answered just giving time if some clarifications may be needed. Thanks a tonne!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 15:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Requesting-faster-methods-to-transfer-a-dataset-from-one-server/m-p/580364#M17752</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-08-10T15:03:33Z</dc:date>
    </item>
  </channel>
</rss>

