nohup retek_tar_and_archive.ksh $MMHOME $MMIN $MMOUT $MMLOG $MMERR $MMTMP $MMHOME/arch &
ps -ef | grep "$pid" > running.log
var=`cat running.log|wc -l`
if [$var -eq 0]
ps -ef | grep "$pid" >> running.log
elif [$var -eq 0]
how to handle pid because p_id of ./remove.sh is taking the p_id of retek_tar_ans_archive (batch remove.sh will start after retek_tar_and_archive.ksh) and one more thing we have to start retek_tar_and_archive.ksh with batch _sagetref parallelly?
... do something usefull