<?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: sas-grid batch submission output in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387689#M10052</link>
    <description>&lt;P&gt;If you want to run code in batch, you need to take control over the results.&lt;/P&gt;
&lt;P&gt;When working with Enterprise Guide or SAS Studio, those frontends will automatically add code that sends output back to them, catch the log, and display datasets. WORK datasets can be viewed because the workspace server process stays active all the time.&lt;/P&gt;
&lt;P&gt;So, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; already suggested, do not use the WORK library for datasets you want to use after the batch job has run.&lt;/P&gt;
&lt;P&gt;Similarly, direct any output to a place where you can find it, either by using ODS with correct paths for output destinations, or by using the -print option on the commandline.&lt;/P&gt;
&lt;P&gt;Finally, redirect the log to a place where you can find it with the -log commandline option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 06:24:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-08-14T06:24:53Z</dc:date>
    <item>
      <title>sas-grid batch submission output</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387401#M10021</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are using sas 9.4 on linux as grid environment.&lt;/P&gt;
&lt;P&gt;my question is if we run a batch job via command line with below command where output goes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$&lt;STRONG&gt;sas&amp;nbsp; test.sas&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(code is data test; a=123; run;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logs says work.test created -&amp;gt; i am trying to find this table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this created directory under my home dir with "&lt;STRONG&gt;SASGSUB-date-time...."&lt;/STRONG&gt; where i can see &lt;STRONG&gt;logs+job details+sas program&lt;/STRONG&gt; itself. I checked under "&lt;STRONG&gt;grid-share&lt;/STRONG&gt;" dir but i don't see output there. I also checked &lt;STRONG&gt;temporary sas work space directory&lt;/STRONG&gt; but i don't see anything under my id either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387401#M10021</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-08-11T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: sas-grid batch submission output</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387518#M10027</link>
      <description>&lt;P&gt;SAS WORK libraries and datasets are automatically deleted at the end of your batch job. If you wish to keep the TEST dataset write it to a permanent SAS library.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 23:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387518#M10027</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-11T23:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: sas-grid batch submission output</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387689#M10052</link>
      <description>&lt;P&gt;If you want to run code in batch, you need to take control over the results.&lt;/P&gt;
&lt;P&gt;When working with Enterprise Guide or SAS Studio, those frontends will automatically add code that sends output back to them, catch the log, and display datasets. WORK datasets can be viewed because the workspace server process stays active all the time.&lt;/P&gt;
&lt;P&gt;So, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; already suggested, do not use the WORK library for datasets you want to use after the batch job has run.&lt;/P&gt;
&lt;P&gt;Similarly, direct any output to a place where you can find it, either by using ODS with correct paths for output destinations, or by using the -print option on the commandline.&lt;/P&gt;
&lt;P&gt;Finally, redirect the log to a place where you can find it with the -log commandline option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 06:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/387689#M10052</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-08-14T06:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: sas-grid batch submission output</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/388201#M10080</link>
      <description>&lt;P&gt;thanks all. its dragging me to basics &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 15:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-grid-batch-submission-output/m-p/388201#M10080</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-08-15T15:50:16Z</dc:date>
    </item>
  </channel>
</rss>

