<?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: Control the Log and Listing Location from Batch Call in SAS Grid Server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653580#M196330</link>
    <description>Hi,&lt;BR /&gt;Adding a `proc printto` in autoexec.sas is not an optin I guess?&lt;BR /&gt;Bart</description>
    <pubDate>Fri, 05 Jun 2020 13:11:14 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2020-06-05T13:11:14Z</dc:date>
    <item>
      <title>Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653528#M196312</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using the following to call my SAS Program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SET F=\\PROG\V04
call sasgsublog_EDC "%F%\BB_Quicklist_Report.sas"&lt;/PRE&gt;
&lt;P&gt;I know we can control the Log and the Listing path using Proc Printto.&lt;/P&gt;
&lt;P&gt;Can we use -PRINT or any other option in call command in the cmd batch file to control the LOG and LST file location. I tried using -PRINT, it did not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 07:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653528#M196312</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2020-06-05T07:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653538#M196315</link>
      <description>Are you talking about the log of the program? Then you can pass the -LOGCONFIGLOC logging-option-file with custom changes related to your job. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=gridref&amp;amp;docsetTarget=p05eo0im8mix5qn1bz77trdvzd2s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=gridref&amp;amp;docsetTarget=p05eo0im8mix5qn1bz77trdvzd2s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2020 08:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653538#M196315</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-06-05T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653579#M196329</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We get a log file in the control location (most of the time where the .SAS file is placed) when a SAS program is run using windows batch or shell batch.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we have any options to print log and the listings in a user specified location without changing anything on SAS code or the SAS application configuration.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 13:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653579#M196329</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2020-06-05T13:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653580#M196330</link>
      <description>Hi,&lt;BR /&gt;Adding a `proc printto` in autoexec.sas is not an optin I guess?&lt;BR /&gt;Bart</description>
      <pubDate>Fri, 05 Jun 2020 13:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653580#M196330</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-06-05T13:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653591#M196331</link>
      <description>&lt;P&gt;You don't have to make any changes to your configuration. I don't have a GRID environment at the moment but I can show you what I did to batch submit for a workspace session job.&lt;/P&gt;
&lt;P&gt;cp /sasconfig/Lev1/SASApp/WorkspaceServer/logconfig.trace.xml ~&lt;/P&gt;
&lt;P&gt;cd ~&lt;/P&gt;
&lt;P&gt;vi logconfig.trace.xml and change the log location to home directory as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anand_V_0-1591365385653.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40466iB95EFFF46C0DDBD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anand_V_0-1591365385653.png" alt="Anand_V_0-1591365385653.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;submit the job and pass the edited log-config location a log is generated at home directory.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anand_V_1-1591365528619.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40467iEA082933E1AD92B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anand_V_1-1591365528619.png" alt="Anand_V_1-1591365528619.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;so this is like a personal configuration file for your jobs that you can modify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 13:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653591#M196331</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-06-05T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Control the Log and Listing Location from Batch Call in SAS Grid Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653778#M196379</link>
      <description>Can you add a full config file, for reference of the other users. Thank you very much.</description>
      <pubDate>Fri, 05 Jun 2020 19:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Control-the-Log-and-Listing-Location-from-Batch-Call-in-SAS-Grid/m-p/653778#M196379</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2020-06-05T19:37:39Z</dc:date>
    </item>
  </channel>
</rss>

