There is a link from ksh to bash and I can get to it from the command line, however when the first line executes, I get:
-bash-2.05b$ ./CERNER_USAGE_PROCESS_TEST
: bad interpreter: No such file or directory/ksh
Here's the script. Most of it has been commented out, but I can't even get past the #!/usr/bin/ksh
#! /usr/bin/ksh
#********************************
# CERNER_USAGE_PROCESS_TEST
#
# Created by : Tim Hallbauer
# Date: 02/02/06
# Modified:
#
#********************************
#
#********************
# Stop the thread *
#********************
#setroot
#setsite smc_development
#
#hcicmd -p surginet_usage -c 'CER_LAW_USAGE pstop'
#
#/usr/bin/ksh -c `export QUOVADX_INSTALL_DIR=/cloverleaf/qdx5.4.1/integrator/sbin/hcisetenv -root ksh /cloverleaf/qdx5.4.1/integrator` imphp
#
#***************************************
# Change to the directory the file is *
# in and fix it. (remove the extra \n) *
#***************************************
#
cd /cloverleaf/qdx5.4.1/integrator
#
#tr -d '\015' < CERNER_USAGE_TEMP > FFINVTRANSWK
#
#*************************************************
# Change to the directory where we want the file *
# to reside on Lawson and begin the FTP process *
#*************************************************
#
#ftp -n -i << EOP
# open IP
# user name pwd
# cd /law8B/apps/test/hht
# type binary
# put FFINVTRANSWK
# site chmod 777 FFINVTRANSWK
#quit
#EOP
#
#**********************
# Backup and delete *
#**********************
#
#cp FFINVTRANSWK FFINVTRANSWK_BKP
#cp CERNER_USAGE_TEMP CERNER_USAGE_TEMP_BKP
#rm CERNER_USAGE_TEMP
#
#*********************
# Start CER_LAW_USAGE *
#*********************
#hcicmd -p surginet_usage -c 'CER_LAW_USAGE pstart'
#
Last edited by HOCKEYDAD; 10-22-2007 at 10:08 AM.
|