I created a complete script of the fragment, like so:
# @(#) s1 Demonstrate string comparison.
echo " ksh version is $KSH_VERSION"
echo "Schema status is : " $tmp_status
if [[ $tmp_status = "ERROR:" ]];
echo "ERROR: schema not available. Please create the schema."
echo "FAILED: tmp_status is :$tmp_status:"
ksh version is @(#)PD KSH v5.2.14 99/07/13.2
Schema status is : Name
FAILED: tmp_status is :Name:
Perhaps I missed something, because this is how I expected it to run ... cheers, makyo