<?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 SASGSUB jobname.log not found in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703573#M20884</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I submit a sasgsub job to one of our two app server contexts, jobname.log file is not getting generated in the grid work directory. I even tried overriding the default grid work directory with a custom one with full control permissions on that folder ( I have full control over the default grid work as well), still that specific file .log alone is not generated. However, the job appears to run and complete successfully. My environment is SAS9.4M5 running on Windows. Also, I don't see this issue on other app server context. I have compared the .cfg files in sasgsub dir of both the server contexts and everything looks good.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could someone provide any leads on this issue?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 09:33:24 GMT</pubDate>
    <dc:creator>SASWayne</dc:creator>
    <dc:date>2020-12-04T09:33:24Z</dc:date>
    <item>
      <title>SASGSUB jobname.log not found</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703573#M20884</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I submit a sasgsub job to one of our two app server contexts, jobname.log file is not getting generated in the grid work directory. I even tried overriding the default grid work directory with a custom one with full control permissions on that folder ( I have full control over the default grid work as well), still that specific file .log alone is not generated. However, the job appears to run and complete successfully. My environment is SAS9.4M5 running on Windows. Also, I don't see this issue on other app server context. I have compared the .cfg files in sasgsub dir of both the server contexts and everything looks good.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could someone provide any leads on this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 09:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703573#M20884</guid>
      <dc:creator>SASWayne</dc:creator>
      <dc:date>2020-12-04T09:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB jobname.log not found</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703601#M20886</link>
      <description>&lt;P&gt;Are there any other files in the work directory such as time.end.xxx or host.&amp;lt;hostname&amp;gt;? If so, that would indicate that the job's script (i.e., sasgrid.cmd) is able to write to the directory. If not, the user may not access to write to the share.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the files do exist, but the *.log does not, a couple things could be wrong:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The processing is not using the logconfig.batch.xml file. This file will route the SAS log to the %SASGRIDWORKDIR%\%SASGRIDBATCHPGM%.log file (i.e., the SAS log in the job directory).
&lt;OL&gt;
&lt;LI&gt;Check the grid_usermods.cfg.cmd file to make sure you are not overriding the LOGCONFIGLOC option.&lt;/LI&gt;
&lt;LI&gt;Check the sasgrid.cmd file to make sure it has not been changed (compare against app server context that does work). Maybe the script is not adding the "-logconfigloc logconfig.batch.xml" option.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The logconfig.batch.xml file is incorrect. Check the logconfig.batch.xml file to make sure it has not changed (compare against app server context that does work). Maybe it is creating the file in the wrong place.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;4) Check the grid_usermods.cfg.cmd file to make sure you are not overriding the LOGCONFIGLOC option.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 12:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703601#M20886</guid>
      <dc:creator>doug_sas</dc:creator>
      <dc:date>2020-12-04T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB jobname.log not found</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703650#M20887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/899"&gt;@doug_sas&lt;/a&gt;&amp;nbsp;, Thanks for replying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other files are generated except the .log. The log file is generated if I submit jobs to same app server context from the server itself using elevated account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see a&amp;nbsp;&lt;SPAN&gt;grid_usermods.cfg.cmd file in ..\Lev1\AppServer\GridServer\ path. In grid.cfg.cmd, I see this -&amp;gt;&amp;nbsp;set SASLOGCFGFILE=-logconfigloc "%SASGRIDCMDPATH%\logconfig.xml". I'm not sure, how %SASGRIDCMDPATH% is resolved though.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there any way to find the value of&amp;nbsp;%SASGRIDCMDPATH%?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:22:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703650#M20887</guid>
      <dc:creator>SASWayne</dc:creator>
      <dc:date>2020-12-04T15:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB jobname.log not found</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703652#M20888</link>
      <description>&lt;P&gt;It seems like someone has modified the files. In reality, they should only change the grid_usermods.cfg.cmd file. If they added 'set SASLOGCONFIGFILE="%SASGRIDCMDPATH%\logconfig.xml"' then they probably modified the sasgrid.cmd file also and/or deleted the logconfig.batch.xml and logconfig.connect.xml files in the GridServer directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since logconfig.xml is not a config file that SAS ships, I am guessing that it does not create the job logs like the logconfig.batch.xml file does which is why you are not seeing the log output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would probably need to find out the reason those files were modified the way they were. By fixing your problem, you may reintroduce a problem the previous changes were meant to fix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to talk to tech support to have them help sort out this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/703652#M20888</guid>
      <dc:creator>doug_sas</dc:creator>
      <dc:date>2020-12-04T15:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB jobname.log not found</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/706895#M21046</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/899"&gt;@doug_sas&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue was resolved by adding 'modify' and 'write' permissions to SAS grid users on the folder sasconfig\Lev1\SASApp\GridServer\Logs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-jobname-log-not-found/m-p/706895#M21046</guid>
      <dc:creator>SASWayne</dc:creator>
      <dc:date>2020-12-18T07:43:08Z</dc:date>
    </item>
  </channel>
</rss>

