Hi again,

OS is AIX.

With the above, I am getting NULL in ReturnStatus. Anyway, I found out the simple workaround for this issue. I have added the following.

grep "Failed Clone" $LOG > check_fail_clone.txt
if [ -s check_fail_clone.txt ]; then
error_exit "$LINENO $ER Executing CLONE_MAIN - Clone package has failed. Check Log file for more details"
fi

This resolved the problem.

Thanks for your help.