Finish current script and execute next script

Hi,
I've come accross a situation where I need to exit from current shell script at the same time I need to start/activate another shell script.

How can I do that in KSH ?? Need help !!

For example, my script is as below

#!/bin/ksh

paramFile="/home/someXfile.lst"

[[ $(grep `TZ=CST-24 date +%Y%m%d` $paramFile) -ne 0 ]] && <<Here I want to exit from this script and execute another script /home/someYscript.sh>>

I tried below but didn't work well

#!/bin/ksh

paramFile="/home/someXfile.lst"

pid=$$
[[ $(grep `TZ=CST-24 date +%Y%m%d` $paramFile) -ne 0 ]] && kill -9 $pid | /home/someYscript.sh

Perhaps the exec command is what you need. Try this out:-

$ cat a.sh
echo "I'm in script a"
exec b.sh
echo "I'm still in script a!"

$ cat b.sh
echo "I'm in script b"

If we run it, we get:-

$ a.sh
I'm in script a
I'm in script b

Basically, this overwrites the current process (or shell) with what's being called. Does this do the sort of thing you want?

Robin