i have the following shell script and it gives me errors
"mainbrain:/home/bscs6/scripts>sh LMS_PROFILE.sh
LMS_PROFILE.sh: ORACLE_SID=SEGODI: is not an identifier
mainbrain:/home/bscs6/scripts>^[ "## Heading ##
the script is as follows:
. /home/bscs6/.kshrc
set -x
monthy=`date +%m`
daty=`date +%d`
yeary=`date +%Y`
cd /home/bscs6/scripts
sqlplus sysadm/sysadm@SEGODI @lms_profile.sql
mv /home/bscs6/scripts/lmsprofile.log /home/bscs6/scripts/LMS_PROFILE_DUMP_$daty$monthy$yeary.txt
done
EOF'
"mainbrain:/home/bscs6/scripts>sh LMS_PROFILE.sh
LMS_PROFILE.sh: ORACLE_SID=SEGODI: is not an identifier
mainbrain:/home/bscs6/scripts>^[ "## Heading ##
the script is as follows:
. /home/bscs6/.kshrc
set -x
monthy=`date +%m`
daty=`date +%d`
yeary=`date +%Y`
cd /home/bscs6/scripts
sqlplus sysadm/sysadm@SEGODI @lms_profile.sql
mv /home/bscs6/scripts/lmsprofile.log /home/bscs6/scripts/LMS_PROFILE_DUMP_$daty$monthy$yeary.txt
done
EOF'