Have put in the following in the top of hive.sh so the delimiters are correct
# Get the date and time #export LC_NUMERIC="en_US.UTF-8" DATE=`date +"%Y-%m-%d %H:%M:%S"`