I use the following statement to extract from DB to a text file(ascii format):
db2 -x -tf ${TMP_SCRIPT_NAME} -r ${OUTPUT_FILE_DIR}/${OUTPUT_FILE_NAME}.${OUTPUT_FILE_EXT} > /dev/null 2>&1
Are there any options that I could use on the above statament to be able to extract the data to a text file (UTF-8) format ?
Please advice. Thank.s