<?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: BatchServer.sh on Linux | Error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650865#M18995</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follows the results...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[sas@XXXXX runsas]$ file /tmp/runsas/runsas94.sh
/tmp/runsas/runsas94.sh: POSIX shell script, ASCII text executable
[sas@XXXXX runsas]$ cat -e  /tmp/runsas/runsas94.sh
#! /bin/sh$
$
umask 007$
$
PATH=.:opt/bin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/GNU/bin/make:/usr/ucb:/sas/software/SASFoundation/9.4/bin:/home/sas_all/bin:/home/sas/bin$
export PATH$
$
sasprogpath=`dirname "$1"`$
$
sasprog=`basename "$1"`$
$
cd $sasprogpath$
$
nohup /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh -log /tmp/runsas/$sasprog.#Y_#m_#d.log -batch -noterminal -logparm "rollover=session" -xcmd -sysin $1 &amp;amp;$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 May 2020 18:00:51 GMT</pubDate>
    <dc:creator>MariaD</dc:creator>
    <dc:date>2020-05-26T18:00:51Z</dc:date>
    <item>
      <title>BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650806#M18987</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have SAS 9.4M6 installed on Linux (RedHat). We have a simple script to run SAS programs on batch but we have the following error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;nohup: failed to run command ‘/sas/config/Lev1/SASApp/BatchServer/sasbatch.sh’: No such file or directory&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We used the same script on other server (SAS 9.4M5 HP-UX) and works fine. We double check and the path of sasbatch.sh file is correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't change anything on sasbatch.sh, is the original file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our scripts is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;#! /bin/sh

umask 007

PATH=.:opt/bin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/GNU/bin/make:/usr/ucb:/sas/software/SASFoundation/9.4/bin:/home/sas_all/bin:/home/sas/bin
export PATH

sasprogpath=`dirname "$1"`

sasprog=`basename "$1"`

cd $sasprogpath

nohup /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh -log /unicomer/tmp/runsas/$sasprog.#Y_#m_#d.log -batch -noterminal -logparm "rollover=session" -xcmd -sysin $1 &amp;amp;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 15:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650806#M18987</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T15:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650809#M18988</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please run your script with "sh -x" in the front and show me the output.&lt;/P&gt;
&lt;PRE&gt;sh -x /path/to/your/script.sh&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 15:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650809#M18988</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650815#M18989</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follows the results of the command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;+ umask 007
+ PATH=.:opt/bin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/GNU/bin/make:/usr/ucb:/sa                  s/software/SASFoundation/9.4/bin:/home/sas_all/bin:/home/sas/bin
+ export PATH
++ dirname /tmp/runsas/test.sas
+ sasprogpath=/tmp/runsas
++ basename /tmp/runsas/test.sas
+ sasprog=test.sas
+ cd /tmp/runsas
+ nohup /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh -log /tmp/runsas/test.sas.#Y_#m_#d.log -batch -noterminal -logparm rollover=session -xcmd -sysin /tmp/runsas/test.sas
[sas@XXXXXXXX runsas]$ nohup: appending output to ‘nohup.out’
nohup: failed to run command ‘/sas/config/Lev1/SASApp/BatchServer/sasbatch.sh’: No such file or directory
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 15:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650815#M18989</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650818#M18990</link>
      <description>&lt;PRE&gt;nohup: failed to run command ‘/sas/config/Lev1/SASApp/BatchServer/sasbatch.sh’: No such file or directory&lt;/PRE&gt;
&lt;P&gt;The path to sasbatch.sh is incorrect. Check with your SAS administrator where the SAS configuration is located.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 16:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650818#M18990</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-26T16:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650819#M18991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The path is correct. If you see in the attached file, sasbatch.sh is located on /sas/config/Lev1/SASApp/BatchServer directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 16:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650819#M18991</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T16:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650824#M18992</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show me the output from these commands:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;id
ls -ld /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
sh -x /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 16:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650824#M18992</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T16:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650845#M18993</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follows the results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[sas@XXXXX BatchServer]$ id
uid=1001(sas) gid=1001(sas) groups=1001(sas) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[sas@XXXXX BatchServer]$ ls -ld /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
-rwxr-xr-x. 1 sas sas 1074 May 26 13:13 /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
[sas@XXXXX BatchServer]$ sh -x /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
+ unset METAUSER
+ unset METAPASS
+ parentpath=/sas/config/Lev1/SASApp
+ . /sas/config/Lev1/SASApp/appservercontext_env.sh
+++ dirname /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
++ '[' -f /sas/config/Lev1/SASApp/BatchServer/../level_env.sh ']'
+++ dirname /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh
++ . /sas/config/Lev1/SASApp/BatchServer/../../level_env.sh
+++ LEVEL_ROOT=/sas/config/Lev1
+++ UTILITIES=/sas/software/SASDeploymentManager/9.4/products/cfgwizard__94514__prt__xx__sp0__1/Utilities
+++ DEPLOYWIZ=/sas/software/SASDeploymentManager/9.4/products/deploywiz__94514__prt__xx__sp0__1/deploywiz
+++ SAS_HOME=/sas/software
+++ JAVA_JRE_COMMAND=/sas/software/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java
+++ SASVJR_HOME=/sas/software/SASVersionedJarRepository
+++ SASVJR_REPOSITORYPATH=/sas/software/SASVersionedJarRepository/eclipse
+++ SASWebInfrastructurePlatform_HOME=/sas/software/SASWebInfrastructurePlatform/9.4
+++ SASROOT=/sas/software/SASFoundation/9.4
+++ SAS_COMMAND=/sas/software/SASFoundation/9.4/sas
+++ . /sas/config/Lev1/level_env_usermods.sh
++++ CONTEXT_USERMODS_OPTIONS=
+++ '[' -f /sas/config/Lev1/hadoop_env.sh ']'
++++ hostname
++++ awk -F. '{ printf $1 }'
+++ SHOSTNAME=ip-172-30-4-235
+++ SERVER_PID_FILE_NAME=server.ip-172-30-4-235.pid
+++ export SERVER_PID_FILE_NAME
++ umask 002
++ APPSERVER_ROOT=/sas/config/Lev1/SASApp
++ . /sas/config/Lev1/SASApp/appservercontext_env_usermods.sh
+++ CONTEXT_USERMODS_OPTIONS=
++ cd /sas/config/Lev1/SASApp
+ CONFIGDIR=/sas/config/Lev1/SASApp/BatchServer
+ . /sas/config/Lev1/SASApp/BatchServer/sasbatch_usermods.sh
++ set -A USERMODS_OPTIONS
/sas/config/Lev1/SASApp/BatchServer/sasbatch_usermods.sh: line 9: set: -A: invalid option
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 17:15:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650845#M18993</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T17:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650852#M18994</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is interesting. Show me the output from these commands:&lt;/P&gt;
&lt;PRE&gt;file /path/to/your/script.sh
cat -e  /path/to/your/script.sh&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 17:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650852#M18994</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T17:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650865#M18995</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follows the results...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[sas@XXXXX runsas]$ file /tmp/runsas/runsas94.sh
/tmp/runsas/runsas94.sh: POSIX shell script, ASCII text executable
[sas@XXXXX runsas]$ cat -e  /tmp/runsas/runsas94.sh
#! /bin/sh$
$
umask 007$
$
PATH=.:opt/bin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/GNU/bin/make:/usr/ucb:/sas/software/SASFoundation/9.4/bin:/home/sas_all/bin:/home/sas/bin$
export PATH$
$
sasprogpath=`dirname "$1"`$
$
sasprog=`basename "$1"`$
$
cd $sasprogpath$
$
nohup /sas/config/Lev1/SASApp/BatchServer/sasbatch.sh -log /tmp/runsas/$sasprog.#Y_#m_#d.log -batch -noterminal -logparm "rollover=session" -xcmd -sysin $1 &amp;amp;$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 May 2020 18:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650865#M18995</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T18:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650869#M18996</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Line endings are correct there, have you speak with your Linux administrator about the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 18:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650869#M18996</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650889#M18997</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are reviewing the issue too. We have 2 Linux server and both presents the same issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 19:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650889#M18997</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650904#M18999</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know what they will find.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 19:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650904#M18999</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T19:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650906#M19000</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, we found it! The original "sasbatch_usermod.sh" (the ones created during SAS installation), contains "&lt;CODE class=" language-sas"&gt;set -A USERMODS_OPTIONS&lt;/CODE&gt;" and "-A" is not recognized on Linux. The solution was comment that line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[sas@XXXXX BatchServer]$ cat sasbatch_usermods.sh
#!/bin/ksh -p
#
# sasbatch_usermods.sh
#
# This script extends sasbatch.sh.  Add local environment variables
# to this file so they will be preserved.
#

#set -A USERMODS_OPTIONS   # initialize empty list
# build up list by un-commenting (and adding) the lines you need (one line per token)
# then replace the &amp;lt;argument&amp;gt; with the values you want for each token on the command line
#USERMODS_OPTIONS[${#USERMODS_OPTIONS[*]}]="&amp;lt;argument&amp;gt;"
#USERMODS_OPTIONS[${#USERMODS_OPTIONS[*]}]="&amp;lt;argument&amp;gt;"
#USERMODS_OPTIONS[${#USERMODS_OPTIONS[*]}]="&amp;lt;argument&amp;gt;"
#USERMODS_OPTIONS[${#USERMODS_OPTIONS[*]}]="&amp;lt;argument&amp;gt;"
#USERMODS_OPTIONS[${#USERMODS_OPTIONS[*]}]="&amp;lt;argument&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 19:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650906#M19000</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T19:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650912#M19002</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Weird, -A option should be supported. What kind of shell are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 20:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650912#M19002</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-26T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650918#M19004</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The shell version is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 20:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/650918#M19004</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-26T20:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651020#M19006</link>
      <description>&lt;P&gt;The SAS shell scripts use the Korn Shell, because of the "shebang":&lt;/P&gt;
&lt;PRE&gt;#!/bin/ksh -p&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 May 2020 09:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651020#M19006</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-27T09:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651383#M19014</link>
      <description>&lt;P&gt;The line "set -A USERMODS_OPTIONS" initializes USERMODS_OPTIONS as an array. I suspect commenting this line out would prevent the other lines from working if they were ever used in the future. As "set -A" is a ksh specific command, I wonder if /bin/ksh is not the correct path to the korn shell executable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[user@hostname ~]$ /bin/ksh --version
version sh (AT&amp;amp;T Research) 93u+ 2012-08-01
[user@hostname ~]$&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 May 2020 14:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651383#M19014</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-05-28T14:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: BatchServer.sh on Linux | Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651501#M19020</link>
      <description>&lt;P&gt;Thanks, I'll verify it. Currently we don't use&amp;nbsp;&lt;SPAN&gt;USERMODS version.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 18:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/BatchServer-sh-on-Linux-Error/m-p/651501#M19020</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-05-28T18:11:50Z</dc:date>
    </item>
  </channel>
</rss>

