Iam trying to execute export and load from shell script
Code:
##################################################
# Connect to OMDSTG
##################################################
db2 connect to ${OMD_DB} user ${OMD_USER} using ${OMD_PASS} >> ${LOCAL_LOG_FILE}
if [ $? -ne 0 ]
then
echo "`date +%Y-%m-%d_%H:%M:%S`:ERROR: DB2 Connect to ${OMD_DB}
Leave a comment: