<?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 Autoload script getting error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330744#M7332</link>
    <description>&lt;P&gt;Please see below schedule.sh script&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#&lt;BR /&gt;# schedule.sh&lt;BR /&gt;#&lt;BR /&gt;# syslog Schedule AutoLoad.sas&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;RUNSAS_PATH="/opt/sas/config/Lev1/Applications/SASVisualAnalytics/VisualAnalyticsAdministrator/runsas.sh"&lt;BR /&gt;TIME_INTERVAL_MINUTES=15&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#call to runsas.sh&lt;BR /&gt;cat &amp;lt;(fgrep -i -v $RUNSAS_PATH &amp;lt;(crontab -l)) &amp;lt;(echo "*/$TIME_INTERVAL_MINUTES * * * * $RUNSAS_PATH &amp;gt; /dev/null ") | crontab -&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 08:38:20 GMT</pubDate>
    <dc:creator>sewa_bal_gmail_com</dc:creator>
    <dc:date>2017-02-08T08:38:20Z</dc:date>
    <item>
      <title>SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330724#M7325</link>
      <description>&lt;P&gt;I am getting below error while submit the job schedule.sh: -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Unrecognized SAS option name USERMODS_OPTIONS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Unable to initialize the SAS kernel.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 07:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330724#M7325</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330729#M7326</link>
      <description>&lt;P&gt;USERMODS_OPTIONS is a UNIX environment variable set in the _usermods.sh extension to the shell script.&lt;/P&gt;
&lt;P&gt;It should be called in the main shell script as $USERMODS_OPTIONS (inside double quotes).&lt;/P&gt;
&lt;P&gt;This seems to have been modified in a faulty way, or setting it was removed from the _usermods.sh, or the _usermods.sh is no longer called from your shell script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To verify this, post the schedule.sh shell script code.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 07:45:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330729#M7326</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-08T07:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330735#M7327</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/34515"&gt;@sewa_bal_gmail_com&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is a continuation of&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-load-data-into-Lasr-server-via-autoload-facility/m-p/330151#U330151" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-load-data-into-Lasr-server-via-autoload-facility/m-p/330151#U330151&lt;/A&gt; please close one of the two topics. It makes sense to open this one here if it is a more technical question, but then, please close the other one and mark the most suitable solution to the initial question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Besides this, this message seems to me again a problem of permissions, your user cannot access the usermods file/s. Your Linux administrator should be able to help you properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330735#M7327</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-08T08:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330739#M7329</link>
      <description>&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see there is no value has been defined on&amp;nbsp;/opt/sas/config/Lev1/SASApp/sas_usermods.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS_USERMODS_OPTIONS=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please explain in very simple steps how to fis this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330739#M7329</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330742#M7331</link>
      <description>&lt;P&gt;Please read my post again, thoroughly.&lt;/P&gt;
&lt;P&gt;I specifically asked you to post the code of your scripts.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:30:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330742#M7331</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-08T08:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330744#M7332</link>
      <description>&lt;P&gt;Please see below schedule.sh script&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#&lt;BR /&gt;# schedule.sh&lt;BR /&gt;#&lt;BR /&gt;# syslog Schedule AutoLoad.sas&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;RUNSAS_PATH="/opt/sas/config/Lev1/Applications/SASVisualAnalytics/VisualAnalyticsAdministrator/runsas.sh"&lt;BR /&gt;TIME_INTERVAL_MINUTES=15&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#call to runsas.sh&lt;BR /&gt;cat &amp;lt;(fgrep -i -v $RUNSAS_PATH &amp;lt;(crontab -l)) &amp;lt;(echo "*/$TIME_INTERVAL_MINUTES * * * * $RUNSAS_PATH &amp;gt; /dev/null ") | crontab -&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330744#M7332</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T08:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330745#M7333</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/34515"&gt;@sewa_bal_gmail_com&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;meant more scripts, this one cannot give us much information. So, runas.sh and its dependent scripts.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330745#M7333</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-08T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330747#M7334</link>
      <description>&lt;P&gt;Please see below runsas.sh script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#&lt;BR /&gt;# runsas.sh&lt;BR /&gt;#&lt;BR /&gt;# syslog Run AutoLoad.sas&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# Source level_env&lt;BR /&gt;. /opt/sas/config/Lev1/level_env.sh&lt;/P&gt;&lt;P&gt;SERVER_CONTEXT=SASApp&lt;BR /&gt;APPSERVER_ROOT=$LEVEL_ROOT/$SERVER_CONTEXT&lt;BR /&gt;AUTOLOAD_ROOT=/opt/sas/config/Lev1/Applications/SASVisualAnalytics/VisualAnalyticsAdministrator&lt;/P&gt;&lt;P&gt;FILENAME="$AUTOLOAD_ROOT/AutoLoad.sas"&lt;BR /&gt;LOG_FILE="$AUTOLOAD_ROOT/Logs/AutoLoad_#Y.#m.#d_#H.#M.#s.log"&lt;BR /&gt;LST_FILE="$AUTOLOAD_ROOT/Logs/AutoLoad.lst"&lt;BR /&gt;PID_FILE=$AUTOLOAD_ROOT/autoload.pid&lt;BR /&gt;CFG_FILE="$AUTOLOAD_ROOT/AutoLoad.cfg"&lt;BR /&gt;MOD_FILE="$AUTOLOAD_ROOT/AutoLoad_usermods.cfg"&lt;/P&gt;&lt;P&gt;# Set config file path&lt;BR /&gt;export SASCFGPATH="$APPSERVER_ROOT/sasv9.cfg, $APPSERVER_ROOT/sasv9_usermods.cfg, $CFG_FILE, $MOD_FILE"&lt;/P&gt;&lt;P&gt;# Function to run the autoload.sas program and save the pid&lt;BR /&gt;fnRunSAS()&lt;BR /&gt;{&lt;BR /&gt;cd $APPSERVER_ROOT&lt;BR /&gt;$SAS_COMMAND -sysin $FILENAME -log $LOG_FILE -print $LST_FILE -batch -noterminal -logparm "rollover=session" &amp;amp;&lt;/P&gt;&lt;P&gt;echo $! &amp;gt; $PID_FILE&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;# Ensure process listed in autoload.pid is not running&lt;BR /&gt;if [ -f $PID_FILE ]; then&lt;BR /&gt;kill -0 $(&amp;lt; $PID_FILE) &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -eq 0 ]; then&lt;BR /&gt;echo "autoload still running (pid $(&amp;lt; $PID_FILE))"&lt;BR /&gt;exit 1&lt;BR /&gt;else&lt;BR /&gt;fnRunSAS&lt;BR /&gt;fi&lt;BR /&gt;else&lt;BR /&gt;fnRunSAS&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;exit 0&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330747#M7334</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330750#M7335</link>
      <description>&lt;P&gt;I see no reference to USERMODS_OPTIONS or SAS_USERMODS_OPTIONS here.&lt;/P&gt;
&lt;P&gt;Next inspect all the .cfg files named. Changes from the default should only be made in the _usermods.cfg files.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330750#M7335</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-08T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330753#M7336</link>
      <description>&lt;P&gt;And their parents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One example is &amp;nbsp;as on your code:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CFG_FILE="$AUTOLOAD_ROOT/AutoLoad.cfg"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MOD_FILE="$AUTOLOAD_ROOT/AutoLoad_usermods.cfg"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You might want to check your SASApp and SASApp/WorkspaceServer folder as well.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330753#M7336</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-08T08:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330755#M7337</link>
      <description>&lt;P&gt;Please see below AutoLoad_usermods.cfg file.&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* AutoLoad_usermods.cfg&lt;BR /&gt;*&lt;BR /&gt;* This config file extends options set in sasv9.cfg.&lt;BR /&gt;* Place your options specific to this AutoLoad in this file.&lt;BR /&gt;*&lt;BR /&gt;* Do NOT modify the AutoLoad.cfg file.&lt;BR /&gt;*&lt;BR /&gt;*/&lt;BR /&gt;USERMODS_OPTIONS="-memsize 0 -cpucount ACTUAL "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and autoload.cfg file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* AutoLoad.cfg&lt;BR /&gt;*&lt;BR /&gt;* This config file should not be edited.&lt;BR /&gt;*&lt;BR /&gt;* Place SAS option customizations specific to this AutoLoad in&lt;BR /&gt;* AutoLoad_usermods.cfg&lt;BR /&gt;*&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 08:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330755#M7337</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T08:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330756#M7338</link>
      <description>&lt;P&gt;Replace this&lt;/P&gt;
&lt;PRE&gt;USERMODS_OPTIONS="-memsize 0 -cpucount ACTUAL "&lt;/PRE&gt;
&lt;P&gt;with these two lines&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;-memsize 0
-cpucount ACTUAL&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the USERMODS_OPTIONS= line was meant for a shell script, but not a SAS configuration file.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 09:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330756#M7338</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-08T09:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autoload script getting error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330760#M7340</link>
      <description>&lt;P&gt;Thanks....Now I am getting SAS error while loading data into LASR server . Please find sas log.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 09:21:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Autoload-script-getting-error/m-p/330760#M7340</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-02-08T09:21:38Z</dc:date>
    </item>
  </channel>
</rss>

