if test "$1" = "-n" then db2 connect to $DBLINK db2 "update TBL_BAT_TASK_CTL set USE_FLAG='N' where BAT_ID='0024' or BAT_ID='0025'" db2 terminate # exit 0 fi
if test "$1" = "-y" then db2 connect to $DBLINK db2 "update TBL_BAT_TASK_CTL set USE_FLAG='Y' where BAT_ID='0024' or BAT_ID='0025'" db2 terminate fi