Need to Output result to a non-delimitted file

Hello I need to run an sql script and then the output result to be in non-delimitted file

What is the execution command to obtain this.

For eg: the following outputs the result to a space delimitted file
db2batch -d ${EC_DB2_DBNAME} -f ${TMP_SCRIPT_NAME} -a ${CURR_DB_ID}/${CURR_DB_PWD} -r ${OUTPUT_FILE_DIR}/${OUTPUT_FILE_NAME}.${OUTPUT_FILE_EXT} >> ${LOG_FILE}

non-delimited file ?

do you want to remove the delimiters ?

sed 's/ //g' input > output