<?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: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371194#M275860</link>
    <description>No it doesn't for me at least. Why can't it be shared?</description>
    <pubDate>Wed, 28 Jun 2017 10:18:47 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-06-28T10:18:47Z</dc:date>
    <item>
      <title>How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371188#M275856</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to retrieve SAS dataset from remote to local drive when executing a SAS job via&amp;nbsp;SAS Integration Technologies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scenarios is as below:&lt;/P&gt;
&lt;P&gt;I have 2 servers. On server1, SAS 9.4M2 is installed. And on server2, it is not. And, I would like to utilize SAS power on server1 from server2 where SAS is not installed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, a Java program has been made to execute SAS program on server2 via&amp;nbsp;&lt;SPAN&gt;SAS Integration Technologies.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My goal is to solve: &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Run SAS program on server2&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Generate SAS datasets to the drive of&amp;nbsp;server2&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;If not considering the shared filesystem, how can it be implemented by Java code and&amp;nbsp;SAS Integration Technologies?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you have any idea?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Many thanks in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR./Edward&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:09:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371188#M275856</guid>
      <dc:creator>EdwardJin</dc:creator>
      <dc:date>2017-06-28T10:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371190#M275857</link>
      <description>&lt;P&gt;What would be the use of SAS datasets on a server that has no SAS installed?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:12:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371190#M275857</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-28T10:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371192#M275858</link>
      <description>You cannot run a SAS program where SAS isn't installed, but you can call SAS via IOM  (like you said initially but later confused).&lt;BR /&gt;Why do you want to store a SAS data set where SAS isn't installed? It needs SAS to be processed. And why not consider a share? Seem like the natural thing to consider. Perhaps you can move it using ftp or other file transfer mechanism.</description>
      <pubDate>Wed, 28 Jun 2017 10:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371192#M275858</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-06-28T10:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371193#M275859</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;
&lt;P&gt;The filesytem where the dataset is located is shared to users' Windows PCs, and SAS client is installed on the PCs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it explains.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR./Edward&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371193#M275859</guid>
      <dc:creator>EdwardJin</dc:creator>
      <dc:date>2017-06-28T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371194#M275860</link>
      <description>No it doesn't for me at least. Why can't it be shared?</description>
      <pubDate>Wed, 28 Jun 2017 10:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371194#M275860</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-06-28T10:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371197#M275861</link>
      <description>Hi Linus,&lt;BR /&gt;The filesystem where the dataset is located is shared to users' Windows PCs, and SAS client is installed on the PCs. &lt;BR /&gt;The 2 servers are cloned except for SAS. But, we are trying to separate the servers as possible as we can on function wise.</description>
      <pubDate>Wed, 28 Jun 2017 10:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371197#M275861</guid>
      <dc:creator>EdwardJin</dc:creator>
      <dc:date>2017-06-28T10:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371198#M275862</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41617"&gt;@EdwardJin&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Kurt,&lt;/P&gt;
&lt;P&gt;The filesytem where the dataset is located is shared to users' Windows PCs, and SAS client is installed on the PCs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it explains.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR./Edward&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then have the share also mounted on the SAS server, and define a library to it. Then write to that, and the datasets are instantly available for all the PCs.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:21:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371198#M275862</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-28T10:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371200#M275863</link>
      <description>&lt;P&gt;Hi Kurt,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your advice. And, we thought about that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the path of the dataset is hardcoded in some of the SAS programs.&lt;/P&gt;
&lt;P&gt;The thing is how can we not change any program, and still get the dataset at the same place.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR./Edward&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371200#M275863</guid>
      <dc:creator>EdwardJin</dc:creator>
      <dc:date>2017-06-28T10:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371203#M275864</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41617"&gt;@EdwardJin&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Kurt,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your advice. And, we thought about that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the path of the dataset is hardcoded in some of the SAS programs.&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;BAD IDEA. I'd fix that first and restructure the code so that things like that can be easily controlled by setting parameters.&lt;BR /&gt;Hardcoding is already biting you in the behind.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;
&lt;P&gt;The thing is how can we not change any program, and still get the dataset at the same place.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could run the program remotely and then use sftp or similar to copy the dataset to the network share server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371203#M275864</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-28T10:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SAS dataset to local drive by running SAS program via SAS Integration Technologies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371593#M275865</link>
      <description>Kurt, &lt;BR /&gt;You can be right. &lt;BR /&gt;Thanks for the valuable suggestion. &lt;BR /&gt;&lt;BR /&gt;BR./Edward</description>
      <pubDate>Thu, 29 Jun 2017 10:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-SAS-dataset-to-local-drive-by-running-SAS-program-via/m-p/371593#M275865</guid>
      <dc:creator>EdwardJin</dc:creator>
      <dc:date>2017-06-29T10:04:12Z</dc:date>
    </item>
  </channel>
</rss>

