<?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: Getting all sas nodes work files in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329515#M21909</link>
    <description>Thanks boemskats for your comment, I never configured "passwordless ssh" before but if this is something affecting any existing security - I wouldn't do it...just staying in compliance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; - I that case then running job on individual node would make sense...</description>
    <pubDate>Thu, 02 Feb 2017 17:46:30 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2017-02-02T17:46:30Z</dc:date>
    <item>
      <title>Getting all sas nodes work files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329465#M21906</link>
      <description>&lt;P&gt;Hello friends,&lt;/P&gt;
&lt;P&gt;i am using Linux redhat with SAS 9.4 + SAS EG with multiple nodes in grid environment,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have temporary work area on each node we called "/workarea1" (exist on all nodes - not shared) my goal is getting list of all work directories (sas_work.... or sas_util...) at specific time from all sas node at once.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i use below code, it only generating files from one specific node only (where it is being executing) - in EG is there any way to get all temporary work directories&amp;nbsp;from all nodes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ind &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;pipe&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"dir /workarea1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; file_list;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fname $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;200&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ind &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;truncover&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fname &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;$200.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;appreciate your comment, &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 15:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329465#M21906</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-02-02T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all sas nodes work files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329487#M21907</link>
      <description>&lt;P&gt;Woo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have terminal access to your GRID, you could &lt;A href="http://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/" target="_self"&gt;configure passwordless ssh&lt;/A&gt; for your user between each of your nodes. You'll then get the collective output via something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename ind pipe "for tgt in gridnode1 gridnode2 gridnode3; do ssh $tgt 'dir /workarea1'; done";
data file_list;
  length fname $200;
  infile ind truncover;
  input fname $200.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Feb 2017 16:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329487#M21907</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2017-02-02T16:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all sas nodes work files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329515#M21909</link>
      <description>Thanks boemskats for your comment, I never configured "passwordless ssh" before but if this is something affecting any existing security - I wouldn't do it...just staying in compliance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; - I that case then running job on individual node would make sense...</description>
      <pubDate>Thu, 02 Feb 2017 17:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-all-sas-nodes-work-files/m-p/329515#M21909</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-02-02T17:46:30Z</dc:date>
    </item>
  </channel>
</rss>

