export HOSTNAME=$(hostname)
print "HOSTNAME= " $HOSTNAME >> $ARCLOG
export CUTNAME=`echo $HOSTNAME|cut -c1-6`
print "CUTNAME = " $CUTNAME >> $ARCLOG
if $CUTNAME = "ecgpdd" then
export ORACLECLASS=`/local/oraecg_uat/oracle/product/9.2.0/jdbc/lib/classes12.zip`
else
export ORACLECLASS=`/local/oraecg/oracle/product/9.2.0/jdbc/lib/classes12.zip`
fi
export TS=`date +%y%m%d%H%M%S`
export JPMC_CONFIG=/opt/webMethods/B2BServer4/custom/conf/config.txt
export CLASSPATH=/opt/webMethods/B2BServer4/custom/classes/jpmcecg.tar:$ORACLECLASS
print "ORACLECLASS = " $ORACLECLASS
print "***** END of Outbound processing to webMethods $(date) ********" >> $ARCLOG
getting the error "./try.ksh[48]: syntax error at line 51 : `else' unexpected
print "HOSTNAME= " $HOSTNAME >> $ARCLOG
export CUTNAME=`echo $HOSTNAME|cut -c1-6`
print "CUTNAME = " $CUTNAME >> $ARCLOG
if $CUTNAME = "ecgpdd" then
export ORACLECLASS=`/local/oraecg_uat/oracle/product/9.2.0/jdbc/lib/classes12.zip`
else
export ORACLECLASS=`/local/oraecg/oracle/product/9.2.0/jdbc/lib/classes12.zip`
fi
export TS=`date +%y%m%d%H%M%S`
export JPMC_CONFIG=/opt/webMethods/B2BServer4/custom/conf/config.txt
export CLASSPATH=/opt/webMethods/B2BServer4/custom/classes/jpmcecg.tar:$ORACLECLASS
print "ORACLECLASS = " $ORACLECLASS
print "***** END of Outbound processing to webMethods $(date) ********" >> $ARCLOG
getting the error "./try.ksh[48]: syntax error at line 51 : `else' unexpected