A ha!!

It works now. I have added the following line at the start of the shell script and it did the trick.

#!/bin/ksh

The environment variable defined in my script were not getting executed because they were defined in korn shell format and by default the cron uses some other shell.

Thanks all for the response.

Sanjay